aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/features.php10
-rw-r--r--include/nav.php2
2 files changed, 1 insertions, 11 deletions
diff --git a/include/features.php b/include/features.php
index b7e1878c3..5479be122 100644
--- a/include/features.php
+++ b/include/features.php
@@ -119,16 +119,6 @@ function get_features($filtered = true, $level = (-1)) {
],
[
- 'ajaxchat',
- t('Access Controlled Chatrooms'),
- t('Provide chatrooms and chat services with access control.'),
- true,
- get_config('feature_lock','ajaxchat'),
- feature_level('ajaxchat',1),
- ],
-
-
- [
'smart_birthdays',
t('Smart Birthdays'),
t('Make birthday events timezone aware in case your friends are scattered across the planet.'),
diff --git a/include/nav.php b/include/nav.php
index 15060a033..9afba7945 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -417,7 +417,7 @@ function channel_apps($is_owner = false, $nickname = null) {
}
- if ($p['chat'] && feature_enabled($uid,'ajaxchat')) {
+ if ($p['chat'] && Apps::system_app_installed($uid,'Chatrooms')) {
$has_chats = Chatroom::list_count($uid);
if ($has_chats) {
$tabs[] = [