diff --git a/lib/DAV/FSExt/Directory.php b/lib/DAV/FSExt/Directory.php index d6aea00949..d07c9ed547 100644 --- a/lib/DAV/FSExt/Directory.php +++ b/lib/DAV/FSExt/Directory.php @@ -143,8 +143,6 @@ public function getChildren() /** * Deletes all files in this directory, and then itself. - * - * @return bool */ public function delete() { @@ -155,8 +153,6 @@ public function delete() // Removing the directory itself rmdir($this->path); - - return true; } /** diff --git a/lib/DAV/FSExt/File.php b/lib/DAV/FSExt/File.php index 74849b564e..c1c406881a 100644 --- a/lib/DAV/FSExt/File.php +++ b/lib/DAV/FSExt/File.php @@ -102,12 +102,10 @@ public function get() /** * Delete the current file. - * - * @return bool */ public function delete() { - return unlink($this->path); + unlink($this->path); } /**