aboutsummaryrefslogtreecommitdiffstats
path: root/include/features.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-09-29 16:00:54 +0200
committerMario Vavti <mario@mariovavti.com>2018-09-29 16:00:54 +0200
commit8265dac9c0127c55c378094b5ccceddc1d66bea4 (patch)
treec94c4a57240d1c42bfcec2f32fac9b6fd7238570 /include/features.php
parent6eeac03a0e42ae88218b76948aedfa541022718c (diff)
parentba4a8aa7623038fd9926b58d826e7cb733176b48 (diff)
downloadvolse-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.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;
}