We now have a single menu item again

This commit is contained in:
Michael 2018-01-04 14:02:04 +00:00
parent 3e8bde5730
commit f66f631079
8 changed files with 22 additions and 39 deletions

View file

@ -149,12 +149,8 @@ function nav_info(App $a)
}
}
if (in_array(Config::get('system', 'community_page_style'), [CP_USERS_ON_SERVER, CP_USERS_AND_GLOBAL])) {
$nav['community'] = array('community/local', t('Community'), '', t('Conversations on this site'));
}
if (in_array(Config::get('system', 'community_page_style'), [CP_GLOBAL_COMMUNITY, CP_USERS_AND_GLOBAL])) {
$nav['global'] = array('community/global', t('Global Timeline'), '', t('Conversations on the network'));
if (Config::get('system', 'community_page_style') != CP_NO_COMMUNITY_PAGE) {
$nav['community'] = array('community', t('Community'), '', t('Conversations on this and other servers'));
}
if (local_user()) {