mirror of
https://github.com/friendica/friendica
synced 2024-12-23 05:20:15 +00:00
Adding of missing entries is now kept behind a config
This commit is contained in:
parent
7f4722ce6f
commit
4a991f0189
2 changed files with 7 additions and 1 deletions
|
@ -47,7 +47,9 @@ class ExpirePosts
|
||||||
|
|
||||||
self::deleteExpiredExternalPosts();
|
self::deleteExpiredExternalPosts();
|
||||||
|
|
||||||
|
if (DI::config()->get('system', 'add_missing_posts')) {
|
||||||
self::addMissingEntries();
|
self::addMissingEntries();
|
||||||
|
}
|
||||||
|
|
||||||
// Set the expiry for origin posta
|
// Set the expiry for origin posta
|
||||||
Worker::add(PRIORITY_LOW, 'Expire');
|
Worker::add(PRIORITY_LOW, 'Expire');
|
||||||
|
|
|
@ -56,6 +56,10 @@ return [
|
||||||
// Manual list of addons which are enabled on this system.
|
// Manual list of addons which are enabled on this system.
|
||||||
'addon' => '',
|
'addon' => '',
|
||||||
|
|
||||||
|
// add_missing_posts (boolean)
|
||||||
|
// Checks for missing entries in "post", "post-thread" or "post-thread-user" and creates them
|
||||||
|
'add_missing_posts' => false,
|
||||||
|
|
||||||
// allowed_themes (Comma-separated list)
|
// allowed_themes (Comma-separated list)
|
||||||
// Themes users can change to in their settings.
|
// Themes users can change to in their settings.
|
||||||
'allowed_themes' => 'quattro,vier,duepuntozero,smoothly',
|
'allowed_themes' => 'quattro,vier,duepuntozero,smoothly',
|
||||||
|
|
Loading…
Reference in a new issue