aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Ping.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2017-12-03 12:31:41 +0100
committerMario <mario@mariovavti.com>2017-12-03 12:31:41 +0100
commitdae0107dd0e1caa460866b5debdc6de912bfd819 (patch)
tree96ec8614c5629d49b7d78186a92d44eb9d31b98c /Zotlabs/Module/Ping.php
parentdd2c4c37ff03eef6470ef0364217b2c6208c38c0 (diff)
downloadvolse-hubzilla-dae0107dd0e1caa460866b5debdc6de912bfd819.tar.gz
volse-hubzilla-dae0107dd0e1caa460866b5debdc6de912bfd819.tar.bz2
volse-hubzilla-dae0107dd0e1caa460866b5debdc6de912bfd819.zip
fix some pubstream on/off weirdness
Diffstat (limited to 'Zotlabs/Module/Ping.php')
-rw-r--r--Zotlabs/Module/Ping.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Ping.php b/Zotlabs/Module/Ping.php
index 84f9d2a21..c1bce0d51 100644
--- a/Zotlabs/Module/Ping.php
+++ b/Zotlabs/Module/Ping.php
@@ -140,7 +140,7 @@ class Ping extends \Zotlabs\Web\Controller {
db_utcnow(), db_quoteinterval('3 MINUTE')
);
- $discover_tab_on = ((get_config('system','disable_discover_tab') != 1) ? true : false);
+ $discover_tab_on = ((get_config('system','disable_discover_tab') || get_config('system','disable_discover_tab') === false) ? false : true);
$notify_pubs = ((local_channel()) ? ($vnotify & VNOTIFY_PUBS) && $discover_tab_on : $discover_tab_on);
if($notify_pubs) {