summaryrefslogtreecommitdiffstats
path: root/lib/files
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-09-07 14:10:51 +0200
committerRobin Appelman <icewind@owncloud.com>2013-09-07 14:10:51 +0200
commit46a57a9f05eea77889ea33082b5c2259d89acc7a (patch)
treec805f55ffee39a012c069ea7c7c9c5638c5d361d /lib/files
parentb8241aa79d732371c7436de15114f2b52afc6866 (diff)
downloadnextcloud-server-46a57a9f05eea77889ea33082b5c2259d89acc7a.tar.gz
nextcloud-server-46a57a9f05eea77889ea33082b5c2259d89acc7a.zip
change View->deleteAll to an alias of View->rmdir since rmdir works recursive
Diffstat (limited to 'lib/files')
-rw-r--r--lib/files/view.php2
1 files changed, 1 insertions, 1 deletions
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) {