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:
parent
b926a4c67e
commit
81f3a5cf94
@ -1536,7 +1536,11 @@ function network_tabs() {
|
||||
// tabs
|
||||
$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(
|
||||
'label' => t('Discover'),
|
||||
'url' => z_root() . '/' . $cmd . '?f=&fh=1' ,
|
||||
|
Reference in New Issue
Block a user