From eccc05d8b1f008ba8fd54c4ecbd6983722bc3b67 Mon Sep 17 00:00:00 2001 From: mark_story Date: Thu, 22 Sep 2011 21:39:00 -0400 Subject: [PATCH] Revert previous commit. Trying to fix jenkins build. --- lib/Cake/Utility/Folder.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/Cake/Utility/Folder.php b/lib/Cake/Utility/Folder.php index d68c3d2c6a8..671ff1e2b59 100644 --- a/lib/Cake/Utility/Folder.php +++ b/lib/Cake/Utility/Folder.php @@ -413,9 +413,6 @@ public function tree($path = null, $exceptions = true, $type = null) { if ($skipHidden && $name[0] === '.' || isset($exceptions[$name])) { continue; } - if ($name === '.' || $name === '..') { - continue; - } if ($item->isFile()) { $files[] = $item->getPathName(); } else if ($item->isDir()) {