From a5bb20c77431d33a9757af09bc23fe6bdbd37204 Mon Sep 17 00:00:00 2001 From: Matthew Vale Date: Thu, 31 Dec 2015 16:33:19 +0000 Subject: [PATCH] removed redundant code --- themes/enhanced/app_defaults.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/themes/enhanced/app_defaults.php b/themes/enhanced/app_defaults.php index 5080029782..e14075d881 100644 --- a/themes/enhanced/app_defaults.php +++ b/themes/enhanced/app_defaults.php @@ -33,8 +33,6 @@ if ($domains_processed == 1) { $x = 0; while (false !== ($file = readdir($backgrounds))) { if ($file != "." AND $file != ".."){ - $new_path = $dir.'/'.$file; - $level = explode('/',$new_path); $ext = pathinfo($file, PATHINFO_EXTENSION); if ($ext == "png" || $ext == "jpg" || $ext == "jpeg" || $ext == "gif") { $x++;