diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-09 16:05:56 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-09 16:05:56 +0200 |
commit | 42625a46be495ea1c60ac8fe8e13946fd9ed9732 (patch) | |
tree | 1b52fc65b8a5888f13f48226b2cb6672456c0b55 /lib/private/Config.php | |
parent | c56a273b39186c509c57ef6bec221d3c4e3d81d3 (diff) | |
download | nextcloud-server-42625a46be495ea1c60ac8fe8e13946fd9ed9732.tar.gz nextcloud-server-42625a46be495ea1c60ac8fe8e13946fd9ed9732.zip |
Remove spaces after method or function call
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/Config.php')
-rw-r--r-- | lib/private/Config.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/Config.php b/lib/private/Config.php index d2ddab5069a..0c5a9b0320d 100644 --- a/lib/private/Config.php +++ b/lib/private/Config.php @@ -239,14 +239,14 @@ class Config { $content .= var_export($this->cache, true); $content .= ";\n"; - touch ($this->configFilePath); + touch($this->configFilePath); $filePointer = fopen($this->configFilePath, 'r+'); // Prevent others not to read the config chmod($this->configFilePath, 0640); // File does not exist, this can happen when doing a fresh install - if(!is_resource ($filePointer)) { + if(!is_resource($filePointer)) { throw new HintException( "Can't write into config directory!", 'This can usually be fixed by giving the webserver write access to the config directory.'); @@ -258,7 +258,7 @@ class Config { } // Write the config and release the lock - ftruncate ($filePointer, 0); + ftruncate($filePointer, 0); fwrite($filePointer, $content); fflush($filePointer); flock($filePointer, LOCK_UN); |