diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-02-09 17:35:47 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-02-14 08:36:26 +0100 |
commit | cd35d257bb3bef2e02ccf0cd99e59a74f1a753b9 (patch) | |
tree | 65d75158609697518a2023932b75c60c1a99ea42 /lib/files/storage/local.php | |
parent | d3ef967993d1e685e3311b073a8312c9dafdf214 (diff) | |
download | nextcloud-server-cd35d257bb3bef2e02ccf0cd99e59a74f1a753b9.tar.gz nextcloud-server-cd35d257bb3bef2e02ccf0cd99e59a74f1a753b9.zip |
Fix NoSpaceAfterComma and SpaceBeforeComma
Diffstat (limited to 'lib/files/storage/local.php')
-rw-r--r-- | lib/files/storage/local.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/files/storage/local.php b/lib/files/storage/local.php index aaa3c0fab49..4099f860d7b 100644 --- a/lib/files/storage/local.php +++ b/lib/files/storage/local.php @@ -40,7 +40,7 @@ class Local extends \OC\Files\Storage\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); @@ -117,11 +117,11 @@ class Local extends \OC\Files\Storage\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; } |