From: Robin Appelman Date: Sat, 7 Sep 2013 12:10:51 +0000 (+0200) Subject: change View->deleteAll to an alias of View->rmdir since rmdir works recursive X-Git-Tag: v6.0.0alpha2~197^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=46a57a9f05eea77889ea33082b5c2259d89acc7a;p=nextcloud-server.git change View->deleteAll to an alias of View->rmdir since rmdir works recursive --- diff --git a/lib/files/view.php b/lib/files/view.php index 406354e2336..98a04486690 100644 --- a/lib/files/view.php +++ b/lib/files/view.php @@ -333,7 +333,7 @@ class View { } public function deleteAll($directory, $empty = false) { - return $this->basicOperation('deleteAll', $directory, array('delete'), $empty); + return $this->rmdir($directory); } public function rename($path1, $path2) {