diff options
author | M. Dent <dentm42@gmail.com> | 2018-09-29 00:17:55 +0200 |
---|---|---|
committer | M. Dent <dentm42@gmail.com> | 2018-09-29 00:17:55 +0200 |
commit | ba4a8aa7623038fd9926b58d826e7cb733176b48 (patch) | |
tree | b714359bdc9c056376c6f3780e8edb0e066bf73f /include/features.php | |
parent | 2904e58a9fea6441202d1f9f7a3304a2d2b1429c (diff) | |
parent | 5f992ffe154ed9e2b225c9a1b3d7c47d39e41d34 (diff) | |
download | volse-hubzilla-ba4a8aa7623038fd9926b58d826e7cb733176b48.tar.gz volse-hubzilla-ba4a8aa7623038fd9926b58d826e7cb733176b48.tar.bz2 volse-hubzilla-ba4a8aa7623038fd9926b58d826e7cb733176b48.zip |
Merge branch 'remove-servicelevel-logic' into 'dev'
Remove servicelevel logic
See merge request hubzilla/core!1291
Diffstat (limited to 'include/features.php')
-rw-r--r-- | include/features.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/features.php b/include/features.php index ccf3c5faf..a3395d7a8 100644 --- a/include/features.php +++ b/include/features.php @@ -416,8 +416,6 @@ function get_features($filtered = true, $level = (-1)) { $arr = $x['features']; - $techlevel = (($level >= 0) ? $level : get_account_techlevel()); - // removed any locked features and remove the entire category if this makes it empty if($filtered) { @@ -428,9 +426,6 @@ function get_features($filtered = true, $level = (-1)) { for($y = 0; $y < count($arr[$k]); $y ++) { $disabled = false; if(is_array($arr[$k][$y])) { - if($arr[$k][$y][5] > $techlevel) { - $disabled = true; - } if($arr[$k][$y][4] !== false) { $disabled = true; } |