diff --git a/lib/Varien/Directory/Collection.php b/lib/Varien/Directory/Collection.php index b3897f449c4..a531cf07b4e 100644 --- a/lib/Varien/Directory/Collection.php +++ b/lib/Varien/Directory/Collection.php @@ -145,9 +145,6 @@ public function lastDir() */ public static function getLastDir($path) { - if ($path == '') { - $path = $this->getPath(); - } $last = strrpos($path, "/"); return substr($path, $last + 1); }