aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Tuke <samtuke@owncloud.com>2012-06-20 16:24:49 +0100
committerSam Tuke <samtuke@owncloud.com>2012-06-20 16:24:49 +0100
commitc244daac897cf8a9e50297b8c9a643dcc9651338 (patch)
treed434de64d1975fd551d2cb620143564d81601c85
parent1ecbf459c9f181a23f25c8305a6f6ba3c99e7afe (diff)
downloadnextcloud-server-c244daac897cf8a9e50297b8c9a643dcc9651338.tar.gz
nextcloud-server-c244daac897cf8a9e50297b8c9a643dcc9651338.zip
removed readdir to fix bug oc-1054
-rw-r--r--apps/files_archive/lib/storage.php1
-rw-r--r--apps/files_sharing/sharedstorage.php2
-rw-r--r--lib/filestorage.php1
3 files changed, 0 insertions, 4 deletions
diff --git a/apps/files_archive/lib/storage.php b/apps/files_archive/lib/storage.php
index 2f10d6a3e4e..86761663611 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 9174334383c..1a6942ad160 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 bf353bb0cce..71ef4aed00b 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);