diff options
author | Sam Tuke <samtuke@owncloud.com> | 2012-06-19 19:42:40 +0100 |
---|---|---|
committer | Sam Tuke <samtuke@owncloud.com> | 2012-06-19 19:42:40 +0100 |
commit | 28a72e0e3c25ecf8cc5ab61a4398ab687072b203 (patch) | |
tree | c1d3a0f381e1fb6202f282f09d15ffb698d33d17 /lib/filesystemview.php | |
parent | f11e4d7cd6c5cae9a0be52dff0bb2f32e20e7099 (diff) | |
download | nextcloud-server-28a72e0e3c25ecf8cc5ab61a4398ab687072b203.tar.gz nextcloud-server-28a72e0e3c25ecf8cc5ab61a4398ab687072b203.zip |
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.php | 4 |
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; |