summaryrefslogtreecommitdiffstats
path: root/lib/filesystemview.php
diff options
context:
space:
mode:
authorBrice Maron <brice@bmaron.net>2012-06-21 20:19:31 +0000
committerBrice Maron <brice@bmaron.net>2012-06-21 20:19:31 +0000
commita5938e4e3766bb7502a3493661ed3bac662f5182 (patch)
tree02fcbe206788e471f122158730004554afec83c5 /lib/filesystemview.php
parent84b9ac2678e6a0b014b730896a12d1531789d8da (diff)
parent37d12144c2debd27271378d2adc5c2b65a25e1f7 (diff)
downloadnextcloud-server-a5938e4e3766bb7502a3493661ed3bac662f5182.tar.gz
nextcloud-server-a5938e4e3766bb7502a3493661ed3bac662f5182.zip
Merge branch 'master' into multi_app_dir
Diffstat (limited to 'lib/filesystemview.php')
-rw-r--r--lib/filesystemview.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/filesystemview.php b/lib/filesystemview.php
index da622bcf920..99e08c50e75 100644
--- a/lib/filesystemview.php
+++ b/lib/filesystemview.php
@@ -252,6 +252,9 @@ class OC_FilesystemView {
public function unlink($path){
return $this->basicOperation('unlink',$path,array('delete'));
}
+ public function deleteAll( $directory, $empty = false ) {
+ return $this->basicOperation( 'deleteAll', $directory, array('delete'), $empty );
+ }
public function rename($path1,$path2){
$absolutePath1=$this->getAbsolutePath($path1);
$absolutePath2=$this->getAbsolutePath($path2);