diff --git a/apps/files_external/lib/irods.php b/apps/files_external/lib/irods.php index 1a0eb63d80..d2e06e72d1 100644 --- a/apps/files_external/lib/irods.php +++ b/apps/files_external/lib/irods.php @@ -84,12 +84,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)); } @@ -100,8 +98,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 @@ -121,8 +117,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);