From fedd19ec95bfe963ab19d9e55f184b8ffe9f0da0 Mon Sep 17 00:00:00 2001 From: Alexandre Hannud Abdo Date: Sat, 29 Mar 2014 23:20:43 -0300 Subject: Let the site admin choose whether to display the Discover tab. --- mod/network.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/network.php') 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']) . " "; -- cgit v1.2.3