aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-07-23 18:49:37 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-07-23 18:49:37 -0700
commit27fa908233640eed51072fe77e7a9658a331ba20 (patch)
tree030a7ab035d6b54e043413eff7088f95971d9429 /include/zot.php
parent3ec6a431b62c20952f07f889acfeedd0ac456d04 (diff)
downloadvolse-hubzilla-27fa908233640eed51072fe77e7a9658a331ba20.tar.gz
volse-hubzilla-27fa908233640eed51072fe77e7a9658a331ba20.tar.bz2
volse-hubzilla-27fa908233640eed51072fe77e7a9658a331ba20.zip
patch to allow theme based widgets
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index 95de349fe..a677da808 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1277,7 +1277,8 @@ function public_recips($msg) {
$include_sys = false;
if($msg['message']['type'] === 'activity') {
- $include_sys = true;
+ if(! get_config('system','disable_discover_tab'))
+ $include_sys = true;
$col = 'channel_w_stream';
$field = PERMS_W_STREAM;
if(array_key_exists('flags',$msg['message']) && in_array('thread_parent', $msg['message']['flags'])) {