]> git.mxchange.org Git - friendica.git/blobdiff - include/nav.php
We now have a single menu item again
[friendica.git] / include / nav.php
index 13999e0e80c1e24f5fbd6b527529e457aa5c9e59..9e136276afb880e1e99b7d89bd31f7b5912e91b3 100644 (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()) {