]> source.dussan.org Git - nextcloud-server.git/commitdiff
removed readdir to fix bug oc-1054
authorSam Tuke <samtuke@owncloud.com>
Wed, 20 Jun 2012 15:24:49 +0000 (16:24 +0100)
committerSam Tuke <samtuke@owncloud.com>
Wed, 20 Jun 2012 15:24:49 +0000 (16:24 +0100)
apps/files_archive/lib/storage.php
apps/files_sharing/sharedstorage.php
lib/filestorage.php

index 2f10d6a3e4ee5667d815c9cd7e721a6ebf83943f..86761663611cf5c4462f12f72df28d673a4df462 100644 (file)
@@ -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);
index 9174334383c6ee2f59aa4ca3e070ed5eea02d0c7..1a6942ad16086ae528d9b5cdaf972975eebe299b 100644 (file)
@@ -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;
index bf353bb0cce43490d67923cee2faa226ccdc3c57..71ef4aed00be83d86e30b4de67de306cc438edf2 100644 (file)
@@ -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);