diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-12-28 12:00:48 -0500 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-12-28 12:00:48 -0500 |
commit | ad902a9848a66135ae85a04b1c66b663219a53ea (patch) | |
tree | 30b54d57dd1ba3ead7049974909de746db6f19e4 /apps/files_external/lib/ftp.php | |
parent | d9ff3b68602d511ede1fd8bf2516a842dee2cfd1 (diff) | |
download | nextcloud-server-ad902a9848a66135ae85a04b1c66b663219a53ea.tar.gz nextcloud-server-ad902a9848a66135ae85a04b1c66b663219a53ea.zip |
Move storage backend tests from constructor to test function
Diffstat (limited to 'apps/files_external/lib/ftp.php')
-rw-r--r-- | apps/files_external/lib/ftp.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/files_external/lib/ftp.php b/apps/files_external/lib/ftp.php index ac487156c18..ca408d5d224 100644 --- a/apps/files_external/lib/ftp.php +++ b/apps/files_external/lib/ftp.php @@ -33,10 +33,6 @@ class OC_FileStorage_FTP extends OC_FileStorage_StreamWrapper{ if ( ! $this->root || $this->root[0]!='/') { $this->root='/'.$this->root; } - $test = $this->stat(''); - if (!$test) { - throw new Exception(); - } //create the root folder if necesary if ( ! $this->is_dir('')) { $this->mkdir(''); |