aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
authorAlexandre Hannud Abdo <abdo@member.fsf.org>2014-03-29 23:20:43 -0300
committerAlexandre Hannud Abdo <abdo@member.fsf.org>2014-03-30 00:03:12 -0300
commitfedd19ec95bfe963ab19d9e55f184b8ffe9f0da0 (patch)
treeb3c6262e6d188b7b7a538b5b19be3b0c3aeb96c0 /mod/network.php
parent7ed177c7cde9e987c18d3f0c0b5b3fc6e371c814 (diff)
downloadvolse-hubzilla-fedd19ec95bfe963ab19d9e55f184b8ffe9f0da0.tar.gz
volse-hubzilla-fedd19ec95bfe963ab19d9e55f184b8ffe9f0da0.tar.bz2
volse-hubzilla-fedd19ec95bfe963ab19d9e55f184b8ffe9f0da0.zip
Let the site admin choose whether to display the Discover tab.
Diffstat (limited to 'mod/network.php')
-rw-r--r--mod/network.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/network.php b/mod/network.php
index 81d86e8e1..09098946f 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -319,7 +319,7 @@ function network_content(&$a, $update = 0, $load = false) {
}
- if($firehose) {
+ if($firehose && get_config('system','discover_tab')) {
require_once('include/identity.php');
$sys = get_sys_channel();
$uids = " and item.uid = " . intval($sys['channel_id']) . " ";