aboutsummaryrefslogtreecommitdiffstats
path: root/lib/filestorage
diff options
context:
space:
mode:
authorSam Tuke <samtuke@owncloud.com>2012-06-19 19:42:40 +0100
committerSam Tuke <samtuke@owncloud.com>2012-06-19 19:42:40 +0100
commit28a72e0e3c25ecf8cc5ab61a4398ab687072b203 (patch)
treec1d3a0f381e1fb6202f282f09d15ffb698d33d17 /lib/filestorage
parentf11e4d7cd6c5cae9a0be52dff0bb2f32e20e7099 (diff)
downloadnextcloud-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/filestorage')
-rw-r--r--lib/filestorage/local.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/filestorage/local.php b/lib/filestorage/local.php
index 44a2ab0f634..27794fe17c0 100644
--- a/lib/filestorage/local.php
+++ b/lib/filestorage/local.php
@@ -20,6 +20,9 @@ class OC_Filestorage_Local extends OC_Filestorage{
public function opendir($path){
return opendir($this->datadir.$path);
}
+ public function readdir($handle){
+ return readdir($handle);
+ }
public function is_dir($path){
if(substr($path,-1)=='/'){
$path=substr($path,0,-1);