From 28a72e0e3c25ecf8cc5ab61a4398ab687072b203 Mon Sep 17 00:00:00 2001 From: Sam Tuke Date: Tue, 19 Jun 2012 19:42:40 +0100 Subject: 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) --- lib/filesystemview.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/filesystemview.php') 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; -- cgit v1.2.3