discover tab showing on network page using fresh site with no settings (it is disabled by default, but the admin setting has not yet been committed to disk).
This commit is contained in:
@@ -1536,7 +1536,11 @@ function network_tabs() {
|
|||||||
// tabs
|
// tabs
|
||||||
$tabs = array();
|
$tabs = array();
|
||||||
|
|
||||||
if(! get_config('system','disable_discover_tab')) {
|
$d = get_config('system','disable_discover_tab');
|
||||||
|
if($d === false)
|
||||||
|
$d = 1;
|
||||||
|
|
||||||
|
if(! $d) {
|
||||||
$tabs[] = array(
|
$tabs[] = array(
|
||||||
'label' => t('Discover'),
|
'label' => t('Discover'),
|
||||||
'url' => z_root() . '/' . $cmd . '?f=&fh=1' ,
|
'url' => z_root() . '/' . $cmd . '?f=&fh=1' ,
|
||||||
|
|||||||
Reference in New Issue
Block a user