diff options
author | Felix Moeller <mail@felixmoeller.de> | 2012-10-23 22:53:54 +0200 |
---|---|---|
committer | Felix Moeller <mail@felixmoeller.de> | 2012-10-23 22:53:54 +0200 |
commit | e73b817a38a824b3119136ea110eda4be15b99d5 (patch) | |
tree | 2679aaf755b1488bf50cb073dbd990fe2761679b /apps/files_external/lib/ftp.php | |
parent | 36d0d7590134f5587ab09c67927c3187e8b5c790 (diff) | |
download | nextcloud-server-e73b817a38a824b3119136ea110eda4be15b99d5.tar.gz nextcloud-server-e73b817a38a824b3119136ea110eda4be15b99d5.zip |
Checkstyle: NoSpaceAfterComma
Diffstat (limited to 'apps/files_external/lib/ftp.php')
-rw-r--r-- | apps/files_external/lib/ftp.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_external/lib/ftp.php b/apps/files_external/lib/ftp.php index 261141455cc..13d1387f287 100644 --- a/apps/files_external/lib/ftp.php +++ b/apps/files_external/lib/ftp.php @@ -53,7 +53,7 @@ class OC_FileStorage_FTP extends OC_FileStorage_StreamWrapper{ case 'ab': //these are supported by the wrapper $context = stream_context_create(array('ftp' => array('overwrite' => true))); - return fopen($this->constructUrl($path),$mode,false,$context); + return fopen($this->constructUrl($path),$mode, false,$context); case 'r+': case 'w+': case 'wb+': @@ -64,7 +64,7 @@ class OC_FileStorage_FTP extends OC_FileStorage_StreamWrapper{ case 'c+': //emulate these if(strrpos($path,'.')!==false) { - $ext=substr($path,strrpos($path,'.')); + $ext=substr($path, strrpos($path,'.')); }else{ $ext=''; } @@ -80,7 +80,7 @@ class OC_FileStorage_FTP extends OC_FileStorage_StreamWrapper{ public function writeBack($tmpFile) { if(isset(self::$tempFiles[$tmpFile])) { - $this->uploadFile($tmpFile,self::$tempFiles[$tmpFile]); + $this->uploadFile($tmpFile, self::$tempFiles[$tmpFile]); unlink($tmpFile); } } |