aboutsummaryrefslogtreecommitdiffstats
path: root/include/features.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-09-20 13:39:26 +0200
committerMario Vavti <mario@mariovavti.com>2016-09-20 13:39:26 +0200
commit4b691703fe91912149ccd350aed1dcc2e2ca090b (patch)
tree060d19c1b0c1e5bca8eef7769583fd7be133486b /include/features.php
parent85bf025adcb15398974bc04c5753df2412874025 (diff)
downloadvolse-hubzilla-4b691703fe91912149ccd350aed1dcc2e2ca090b.tar.gz
volse-hubzilla-4b691703fe91912149ccd350aed1dcc2e2ca090b.tar.bz2
volse-hubzilla-4b691703fe91912149ccd350aed1dcc2e2ca090b.zip
remove redundant loop
Diffstat (limited to 'include/features.php')
-rw-r--r--include/features.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/features.php b/include/features.php
index d1b38b48e..1ccdbf015 100644
--- a/include/features.php
+++ b/include/features.php
@@ -445,10 +445,6 @@ function get_features($filtered = true) {
unset($narr[$k]);
}
}
- for($x = 0; $x < count($narr); $x ++) {
- if(! $narr[$x])
- unset($narr[$x]);
- }
}
else {
$narr = $arr;