Commits

dho  committed 02cf8e3

Adding missing returns

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@50973807eeeb-6ff5-0310-8944-8be069107fe0

  • Participants
  • Parent commits b9c1fb8

Comments (0)

Files changed (1)

File cake/libs/folder.php

  * @see read
  */
 	function ls($sort = true, $exceptions = false) {
-		$this->read($sort, $exceptions);
+		return $this->read($sort, $exceptions);
 	}
 /**
  * nix flavored alias
  * @see create
  */
 	function mkdir($pathname, $mode = 0755) {
-		$this->create($pathname, $mode);
+		return $this->create($pathname, $mode);
 	}
 /**
  * nix flavored alias
  * @see copy
  */
 	function cp($options) {
-		$this->copy($options);
+		return $this->copy($options);
 	}		
 /**
  * nix flavored alias
  * @see move
  */
 	function mv($options) {
-		$this->move($options);
+		return $this->move($options);
 	}
 /**
  * nix flavored alias
  * @see delete
  */
 	function rm($path) {
-		$this->delete($path);
+		return $this->delete($path);
 	}			
 /**
  *
  * @see chmod
  */
 	function chmodr($pathname, $mode = 0755) {
-		$this->chmod($pathname, $mode);
+		return $this->chmod($pathname, $mode);
 	}
 /**
  *
  * @see mkdir or create
  */
 	function mkdirr($pathname, $mode = 0755) {
-		$this->create($pathname, $mode);
+		return $this->create($pathname, $mode);
 	}
 }
 ?>