aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-08-06 21:40:39 +0200
committergit-marijus <mario@mariovavti.com>2017-08-06 21:40:39 +0200
commit68b32cd8f414fc3df1279a3458082b2d8dfc3430 (patch)
tree40768e806965ade0f5157fcc0f53bb30578e93fc /Zotlabs/Daemon
parenta618f70f56efdcaaf9da6dcfcab9cce6a933303b (diff)
downloadvolse-hubzilla-68b32cd8f414fc3df1279a3458082b2d8dfc3430.tar.gz
volse-hubzilla-68b32cd8f414fc3df1279a3458082b2d8dfc3430.tar.bz2
volse-hubzilla-68b32cd8f414fc3df1279a3458082b2d8dfc3430.zip
consolidate disable_discover_tab config if it was not yet set to either 1 or 0 in DB
Diffstat (limited to 'Zotlabs/Daemon')
-rw-r--r--Zotlabs/Daemon/Cron.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Daemon/Cron.php b/Zotlabs/Daemon/Cron.php
index c84708ba4..65edbedfa 100644
--- a/Zotlabs/Daemon/Cron.php
+++ b/Zotlabs/Daemon/Cron.php
@@ -174,7 +174,8 @@ class Cron {
// pull in some public posts
- if(! get_config('system','disable_discover_tab'))
+ $disable_discover_tab = get_config('system','disable_discover_tab') || get_config('system','disable_discover_tab') === false;
+ if(! $disable_discover_tab)
Master::Summon(array('Externals'));
$generation = 0;