]> source.dussan.org Git - nextcloud-server.git/commitdiff
change View->deleteAll to an alias of View->rmdir since rmdir works recursive
authorRobin Appelman <icewind@owncloud.com>
Sat, 7 Sep 2013 12:10:51 +0000 (14:10 +0200)
committerRobin Appelman <icewind@owncloud.com>
Sat, 7 Sep 2013 12:10:51 +0000 (14:10 +0200)
lib/files/view.php

index 406354e2336d09c13f149d8ffdb53ffa787c00da..98a04486690154f26a6b2fbbb84c2f6f75ebfdc6 100644 (file)
@@ -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) {