Adding of missing entries is now kept behind a config
This commit is contained in:
parent
7f4722ce6f
commit
4a991f0189
|
@ -47,7 +47,9 @@ class ExpirePosts
|
||||||
|
|
||||||
self::deleteExpiredExternalPosts();
|
self::deleteExpiredExternalPosts();
|
||||||
|
|
||||||
self::addMissingEntries();
|
if (DI::config()->get('system', 'add_missing_posts')) {
|
||||||
|
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