Let the site admin choose whether to display the Discover tab.

This commit is contained in:
Alexandre Hannud Abdo
2014-03-29 23:20:43 -03:00
parent 7ed177c7cd
commit fedd19ec95
5 changed files with 18 additions and 12 deletions

View File

@@ -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']) . " ";