aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller/SetupController.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Controller/SetupController.php')
-rw-r--r--core/Controller/SetupController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Controller/SetupController.php b/core/Controller/SetupController.php
index 8205bb49201..f68ce9732f5 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,7 +130,7 @@ 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;