Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…ign found in App::import
  • Loading branch information...
commit 27437a808d129242e52fe784ca778375f6c4c39b 1 parent 6775e09
gwoo authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  cake/libs/folder.php
View
3  cake/libs/folder.php
@@ -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();
Please sign in to comment.
Something went wrong with that request. Please try again.