Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Tuke <samtuke@owncloud.com>2012-06-19 22:42:40 +0400
committerSam Tuke <samtuke@owncloud.com>2012-06-19 22:42:40 +0400
commit28a72e0e3c25ecf8cc5ab61a4398ab687072b203 (patch)
treec1d3a0f381e1fb6202f282f09d15ffb698d33d17 /lib/filesystemview.php
parentf11e4d7cd6c5cae9a0be52dff0bb2f32e20e7099 (diff)
Fixed deleteAll function for deleting all old versions of files (expireAll)
Added new readdir() method to all storage classes and handlers (only working implementation in local.php)
Diffstat (limited to 'lib/filesystemview.php')
-rw-r--r--lib/filesystemview.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/filesystemview.php b/lib/filesystemview.php
index 813a87cd74e..da622bcf920 100644
--- a/lib/filesystemview.php
+++ b/lib/filesystemview.php
@@ -158,6 +158,10 @@ class OC_FilesystemView {
public function opendir($path){
return $this->basicOperation('opendir',$path,array('read'));
}
+ public function readdir($handle){
+ $fsLocal= new OC_Filestorage_Local( array( 'datadir' => '/' ) );
+ return $fsLocal->readdir( $handle );
+ }
public function is_dir($path){
if($path=='/'){
return true;