diff options
author | Felix Moeller <mail@felixmoeller.de> | 2012-11-04 18:28:29 +0100 |
---|---|---|
committer | Felix Moeller <mail@felixmoeller.de> | 2012-11-04 18:28:29 +0100 |
commit | 0e70ea9d8baa449ee3c8309f2b6a59ce06a55926 (patch) | |
tree | 538076bdc23be31e88ba012aa4f26448c8fd1ca3 /lib/filestorage | |
parent | 1205749f8cec19c30c9f58f7f97832fac9a4c502 (diff) | |
download | nextcloud-server-0e70ea9d8baa449ee3c8309f2b6a59ce06a55926.tar.gz nextcloud-server-0e70ea9d8baa449ee3c8309f2b6a59ce06a55926.zip |
Checkstyle: Fix the last 25 NoSpaceAfterComma
Diffstat (limited to 'lib/filestorage')
-rw-r--r-- | lib/filestorage/local.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/filestorage/local.php b/lib/filestorage/local.php index 2dde0093d4b..6fe45acf8c5 100644 --- a/lib/filestorage/local.php +++ b/lib/filestorage/local.php @@ -6,7 +6,7 @@ class OC_Filestorage_Local extends OC_Filestorage_Common{ protected $datadir; public function __construct($arguments) { $this->datadir=$arguments['datadir']; - if(substr($this->datadir,-1)!=='/') { + if(substr($this->datadir, -1)!=='/') { $this->datadir.='/'; } } @@ -20,7 +20,7 @@ class OC_Filestorage_Local extends OC_Filestorage_Common{ return opendir($this->datadir.$path); } public function is_dir($path) { - if(substr($path,-1)=='/') { + if(substr($path, -1)=='/') { $path=substr($path, 0, -1); } return is_dir($this->datadir.$path); @@ -86,11 +86,11 @@ class OC_Filestorage_Local extends OC_Filestorage_Common{ } public function rename($path1, $path2) { if (!$this->isUpdatable($path1)) { - OC_Log::write('core','unable to rename, file is not writable : '.$path1, OC_Log::ERROR); + OC_Log::write('core', 'unable to rename, file is not writable : '.$path1, OC_Log::ERROR); return false; } if(! $this->file_exists($path1)) { - OC_Log::write('core','unable to rename, file does not exists : '.$path1, OC_Log::ERROR); + OC_Log::write('core', 'unable to rename, file does not exists : '.$path1, OC_Log::ERROR); return false; } |