]> source.dussan.org Git - nextcloud-server.git/commitdiff
update to latest master
authorThomas Mueller <thomas.mueller@tmit.eu>
Thu, 6 Jun 2013 21:28:08 +0000 (23:28 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 23 Jul 2013 10:36:58 +0000 (12:36 +0200)
apps/files_external/lib/irods.php

index 6d93002552c66bf4ba2650bc59be5427060ca9af..ddce8639ff47deb1a49d05adec113ace893c1efd 100644 (file)
@@ -86,12 +86,10 @@ class iRODS extends \OC\Files\Storage\StreamWrapper{
        }
 
        public function filetype($path) {
-               $this->init();
                return @filetype($this->constructUrl($path));
        }
 
        public function mkdir($path) {
-               $this->init();
                return @mkdir($this->constructUrl($path));
        }
 
@@ -102,8 +100,6 @@ class iRODS extends \OC\Files\Storage\StreamWrapper{
                        return false;
                }
 
-               $this->init();
-
                $path = $this->constructUrl($path);
 
                // if the file doesn't exist we create it
@@ -123,8 +119,6 @@ class iRODS extends \OC\Files\Storage\StreamWrapper{
         * @return bool
         */
        public function hasUpdated($path,$time) {
-               $this->init();
-
                // this it a work around for folder mtimes -> we loop it's content
                if ( $this->is_dir($path)) {
                        $actualTime=$this->collectionMTime($path);