aboutsummaryrefslogtreecommitdiffstats
path: root/include/features.php
diff options
context:
space:
mode:
authorM. Dent <dentm42@gmail.com>2018-09-29 00:17:55 +0200
committerM. Dent <dentm42@gmail.com>2018-09-29 00:17:55 +0200
commit5f992ffe154ed9e2b225c9a1b3d7c47d39e41d34 (patch)
treeb714359bdc9c056376c6f3780e8edb0e066bf73f /include/features.php
parent2904e58a9fea6441202d1f9f7a3304a2d2b1429c (diff)
downloadvolse-hubzilla-5f992ffe154ed9e2b225c9a1b3d7c47d39e41d34.tar.gz
volse-hubzilla-5f992ffe154ed9e2b225c9a1b3d7c47d39e41d34.tar.bz2
volse-hubzilla-5f992ffe154ed9e2b225c9a1b3d7c47d39e41d34.zip
Remove servicelevel logic
Diffstat (limited to 'include/features.php')
-rw-r--r--include/features.php5
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;
}