diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2020-04-09 20:39:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-09 20:39:37 +0200 |
commit | 008e6d7e849a82fdc3aa20169c4c8bdd0fe506be (patch) | |
tree | 6abbe3d8741de956ad787b5e3d55cec85ceb558f /core/Controller | |
parent | 64510932b8bd7d4d1d490f7da7fb9ebcf21e31c2 (diff) | |
parent | 3a415e4139d6e28c16b0420ab411e6df5ff6d54a (diff) | |
download | nextcloud-server-008e6d7e849a82fdc3aa20169c4c8bdd0fe506be.tar.gz nextcloud-server-008e6d7e849a82fdc3aa20169c4c8bdd0fe506be.zip |
Merge pull request #20391 from nextcloud/refactor/spaces-cleanup
Remove all extra whitespace PSR2 does not like
Diffstat (limited to 'core/Controller')
-rw-r--r-- | core/Controller/SetupController.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/Controller/SetupController.php b/core/Controller/SetupController.php index 7df02dfea0e..d77f6982f3d 100644 --- a/core/Controller/SetupController.php +++ b/core/Controller/SetupController.php @@ -109,7 +109,7 @@ class SetupController { } private function finishSetup(bool $installRecommended) { - if( file_exists( $this->autoConfigFile )) { + if(file_exists($this->autoConfigFile)) { unlink($this->autoConfigFile); } \OC::$server->getIntegrityCodeChecker()->runInstanceVerification(); @@ -130,11 +130,11 @@ class SetupController { } public function loadAutoConfig($post) { - if( file_exists($this->autoConfigFile)) { + if(file_exists($this->autoConfigFile)) { \OCP\Util::writeLog('core', 'Autoconfig file found, setting up Nextcloud…', ILogger::INFO); $AUTOCONFIG = []; include $this->autoConfigFile; - $post = array_merge ($post, $AUTOCONFIG); + $post = array_merge($post, $AUTOCONFIG); } $dbIsSet = isset($post['dbtype']); |