From 4b691703fe91912149ccd350aed1dcc2e2ca090b Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 20 Sep 2016 13:39:26 +0200 Subject: remove redundant loop --- include/features.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include') 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; -- cgit v1.2.3