aboutsummaryrefslogtreecommitdiffstats
path: root/include/features.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-29 13:50:02 -0700
committerzotlabs <mike@macgirvin.com>2017-05-29 13:50:02 -0700
commit4fcfcc81172ebdfa4a27d3bca94bffe97356f600 (patch)
tree78a53b004556fa1064e9213008e68d897a296fe2 /include/features.php
parentb15a5f03e61eeef2086d87f497464b00ada3798e (diff)
downloadvolse-hubzilla-4fcfcc81172ebdfa4a27d3bca94bffe97356f600.tar.gz
volse-hubzilla-4fcfcc81172ebdfa4a27d3bca94bffe97356f600.tar.bz2
volse-hubzilla-4fcfcc81172ebdfa4a27d3bca94bffe97356f600.zip
start deprecation of server_role
Diffstat (limited to 'include/features.php')
-rw-r--r--include/features.php23
1 files changed, 9 insertions, 14 deletions
diff --git a/include/features.php b/include/features.php
index 0fc6fbc1d..f32dbe82e 100644
--- a/include/features.php
+++ b/include/features.php
@@ -45,10 +45,6 @@ function feature_level($feature,$def) {
function get_features($filtered = true) {
- $server_role = \Zotlabs\Lib\System::get_server_role();
-
- if($server_role === 'basic' && $filtered)
- return array();
$arr = [
@@ -424,16 +420,15 @@ function get_features($filtered = true) {
];
- if($server_role === 'pro') {
- $arr['general'][] = [
- 'premium_channel',
- t('Premium Channel'),
- t('Allows you to set restrictions and terms on those that connect with your channel'),
- false,
- get_config('feature_lock','premium_channel'),
- feature_level('premium_channel',4),
- ];
- }
+ $arr['general'][] = [
+ 'premium_channel',
+ t('Premium Channel'),
+ t('Allows you to set restrictions and terms on those that connect with your channel'),
+ false,
+ get_config('feature_lock','premium_channel'),
+ feature_level('premium_channel',4),
+ ];
+
$techlevel = get_account_techlevel();