aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-06-02 22:26:08 +0200
committerMario Vavti <mario@mariovavti.com>2018-06-02 22:26:08 +0200
commita0e4f7ddb17088a704e4cf7dff2fcba35f1cc128 (patch)
tree79bc901b1de277738c6c17a9cab7afabd0d2fc0f /include
parent8189408190333b4f6ac45f98623be0d1db8b9462 (diff)
downloadvolse-hubzilla-a0e4f7ddb17088a704e4cf7dff2fcba35f1cc128.tar.gz
volse-hubzilla-a0e4f7ddb17088a704e4cf7dff2fcba35f1cc128.tar.bz2
volse-hubzilla-a0e4f7ddb17088a704e4cf7dff2fcba35f1cc128.zip
respect the privacy group feature setting in nav
Diffstat (limited to 'include')
-rw-r--r--include/nav.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/nav.php b/include/nav.php
index 27a8ced0f..5642f438f 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -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');