From c244daac897cf8a9e50297b8c9a643dcc9651338 Mon Sep 17 00:00:00 2001 From: Sam Tuke Date: Wed, 20 Jun 2012 16:24:49 +0100 Subject: [PATCH] removed readdir to fix bug oc-1054 --- apps/files_archive/lib/storage.php | 1 - apps/files_sharing/sharedstorage.php | 2 -- lib/filestorage.php | 1 - 3 files changed, 4 deletions(-) diff --git a/apps/files_archive/lib/storage.php b/apps/files_archive/lib/storage.php index 2f10d6a3e4..8676166361 100644 --- a/apps/files_archive/lib/storage.php +++ b/apps/files_archive/lib/storage.php @@ -49,7 +49,6 @@ class OC_Filestorage_Archive extends OC_Filestorage_Common{ OC_FakeDirStream::$dirs[$id]=$content; return opendir('fakedir://'.$id); } - public function readdir($path){} public function stat($path){ $ctime=filectime($this->path); $path=$this->stripPath($path); diff --git a/apps/files_sharing/sharedstorage.php b/apps/files_sharing/sharedstorage.php index 9174334383..1a6942ad16 100644 --- a/apps/files_sharing/sharedstorage.php +++ b/apps/files_sharing/sharedstorage.php @@ -139,8 +139,6 @@ class OC_Filestorage_Shared extends OC_Filestorage { } } - public function readdir( $path ) {} - public function is_dir($path) { if ($path == "" || $path == "/") { return true; diff --git a/lib/filestorage.php b/lib/filestorage.php index bf353bb0cc..71ef4aed00 100644 --- a/lib/filestorage.php +++ b/lib/filestorage.php @@ -28,7 +28,6 @@ abstract class OC_Filestorage{ abstract public function mkdir($path); abstract public function rmdir($path); abstract public function opendir($path); - abstract public function readdir($path); abstract public function is_dir($path); abstract public function is_file($path); abstract public function stat($path);