diff options
author | Brice Maron <brice@bmaron.net> | 2012-06-21 20:19:31 +0000 |
---|---|---|
committer | Brice Maron <brice@bmaron.net> | 2012-06-21 20:19:31 +0000 |
commit | a5938e4e3766bb7502a3493661ed3bac662f5182 (patch) | |
tree | 02fcbe206788e471f122158730004554afec83c5 /lib/filesystemview.php | |
parent | 84b9ac2678e6a0b014b730896a12d1531789d8da (diff) | |
parent | 37d12144c2debd27271378d2adc5c2b65a25e1f7 (diff) | |
download | nextcloud-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.php | 3 |
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); |