aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-09-09 15:08:18 -0700
committerThomas Müller <thomas.mueller@tmit.eu>2013-09-09 15:08:18 -0700
commit63a5409c6eed63941256a453aef506ee6652d74c (patch)
tree89331188cd33dffdbdd1e7f352a5ea5ebbf04b06
parent5e1821f21d1aa484f9275d9b0fbbb366d89508b2 (diff)
parent46a57a9f05eea77889ea33082b5c2259d89acc7a (diff)
downloadnextcloud-server-63a5409c6eed63941256a453aef506ee6652d74c.tar.gz
nextcloud-server-63a5409c6eed63941256a453aef506ee6652d74c.zip
Merge pull request #4757 from owncloud/deleteAll-alias
change View->deleteAll to an alias of View->rmdir since rmdir works recursive
-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) {