diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-09-13 11:32:43 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-09-13 11:32:43 +0200 |
commit | 56f88f2e30ef75fa7e41cbcbbc6344abc6b7d37d (patch) | |
tree | 44e52b8dfeb719760bc60325e93bbbb6c374e21a /include | |
parent | a1d5ce3716d09b7ccd81e252309ca9fd5e841b26 (diff) | |
download | volse-hubzilla-56f88f2e30ef75fa7e41cbcbbc6344abc6b7d37d.tar.gz volse-hubzilla-56f88f2e30ef75fa7e41cbcbbc6344abc6b7d37d.tar.bz2 volse-hubzilla-56f88f2e30ef75fa7e41cbcbbc6344abc6b7d37d.zip |
move chat from feature to apps
Diffstat (limited to 'include')
-rw-r--r-- | include/features.php | 10 | ||||
-rw-r--r-- | include/nav.php | 2 |
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[] = [ |