respect the privacy group feature setting in nav

This commit is contained in:
Mario Vavti 2018-06-02 22:26:08 +02:00
parent 8189408190
commit a0e4f7ddb1

View File

@ -93,8 +93,8 @@ function nav($template = 'default') {
if(! $_SESSION['delegate']) {
$nav['manage'] = array('manage', t('Channel Manager'), "", t('Manage your channels'),'manage_nav_btn');
}
$nav['group'] = array('group', t('Privacy Groups'),"", t('Manage your privacy groups'),'group_nav_btn');
if(feature_enabled(local_channel(),'groups'))
$nav['group'] = array('group', t('Privacy Groups'),"", t('Manage your privacy groups'),'group_nav_btn');
$nav['settings'] = array('settings', t('Settings'),"", t('Account/Channel Settings'),'settings_nav_btn');