aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/features.php9
-rw-r--r--include/group.php2
-rw-r--r--include/nav.php2
3 files changed, 2 insertions, 11 deletions
diff --git a/include/features.php b/include/features.php
index 12b0ed787..0da6a9725 100644
--- a/include/features.php
+++ b/include/features.php
@@ -75,15 +75,6 @@ function get_features($filtered = true, $level = (-1)) {
t('Access Control and Permissions'),
[
- 'groups',
- t('Privacy Groups'),
- t('Enable management and selection of privacy groups'),
- true,
- get_config('feature_lock','groups'),
- feature_level('groups',0),
- ],
-
- [
'permcats',
t('Permission Categories'),
t('Create custom connection permission limits'),
diff --git a/include/group.php b/include/group.php
index 56bf210ff..79d70aca4 100644
--- a/include/group.php
+++ b/include/group.php
@@ -274,7 +274,7 @@ function group_side($every="connections",$each="group",$edit = false, $group_id
$o = '';
- if(! (local_channel() && feature_enabled(local_channel(),'groups'))) {
+ if(! (local_channel() && \Zotlabs\Lib\Apps::system_app_installed(local_channel(), 'Privacy Groups'))) {
return '';
}
diff --git a/include/nav.php b/include/nav.php
index 1eef8dc07..988a07b7c 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -93,7 +93,7 @@ function nav($template = 'default') {
if(! $_SESSION['delegate']) {
$nav['manage'] = array('manage', t('Channel Manager'), "", t('Manage your channels'),'manage_nav_btn');
}
- if(feature_enabled(local_channel(),'groups'))
+ if(Apps::system_app_installed(local_channel(), 'Privacy 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');