diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-09-29 16:00:54 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-09-29 16:00:54 +0200 |
commit | 8265dac9c0127c55c378094b5ccceddc1d66bea4 (patch) | |
tree | c94c4a57240d1c42bfcec2f32fac9b6fd7238570 /include/features.php | |
parent | 6eeac03a0e42ae88218b76948aedfa541022718c (diff) | |
parent | ba4a8aa7623038fd9926b58d826e7cb733176b48 (diff) | |
download | volse-hubzilla-8265dac9c0127c55c378094b5ccceddc1d66bea4.tar.gz volse-hubzilla-8265dac9c0127c55c378094b5ccceddc1d66bea4.tar.bz2 volse-hubzilla-8265dac9c0127c55c378094b5ccceddc1d66bea4.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
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; } |