Permalink
Browse files

rmoving path check from Folder::tree fixes issues with classes not be…

…ign found in App::import
  • Loading branch information...
gwoo
gwoo committed Aug 5, 2009
1 parent 6775e09 commit 27437a808d129242e52fe784ca778375f6c4c39b
Showing with 0 additions and 3 deletions.
  1. +0 −3 cake/libs/folder.php
View
@@ -431,9 +431,6 @@ function chmod($path, $mode = false, $recursive = true, $exceptions = array()) {
* @access public
*/
function tree($path, $exceptions = true, $type = null) {
- if (!$this->pwd()) {
- return array();
- }
$original = $this->path;
$path = rtrim($path, DS);
$this->__files = array();

0 comments on commit 27437a8

Please sign in to comment.