diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-11-15 00:37:54 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-11-15 00:37:54 +0100 |
commit | bf2ac9f113d41dc944f42d1516649a3a72e88a65 (patch) | |
tree | 36e0c3b8a6327321122fc8a63b7aa23d1ee0f789 /apps/files_external/lib/ftp.php | |
parent | 41a61bc637c3d60efc5abe81c39fc726fd78cd1d (diff) | |
parent | a418a3ba65d0097047cfcad1b4ee82185c42d22a (diff) | |
download | nextcloud-server-bf2ac9f113d41dc944f42d1516649a3a72e88a65.tar.gz nextcloud-server-bf2ac9f113d41dc944f42d1516649a3a72e88a65.zip |
merge master into filesystem
Diffstat (limited to 'apps/files_external/lib/ftp.php')
-rw-r--r-- | apps/files_external/lib/ftp.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/lib/ftp.php b/apps/files_external/lib/ftp.php index 0b60d42219a..951dfd7f3cc 100644 --- a/apps/files_external/lib/ftp.php +++ b/apps/files_external/lib/ftp.php @@ -21,8 +21,8 @@ class FTP extends \OC\Files\Storage\StreamWrapper{ $this->host=$params['host']; $this->user=$params['user']; $this->password=$params['password']; - if(isset($params['secure'])){ - if(is_string($params['secure'])){ + if(isset($params['secure'])) { + if(is_string($params['secure'])) { $this->secure = ($params['secure'] === 'true'); }else{ $this->secure = (bool)$params['secure']; |