@@ -62,12 +62,12 @@ discard block |
||
62 | 62 | $post['dbpass'] = $post['dbpassword']; |
63 | 63 | } |
64 | 64 | |
65 | - if(isset($post['install']) AND $post['install']=='true') { |
|
65 | + if (isset($post['install']) AND $post['install'] == 'true') { |
|
66 | 66 | // We have to launch the installation process : |
67 | 67 | $e = $this->setupHelper->install($post); |
68 | 68 | $errors = array('errors' => $e); |
69 | 69 | |
70 | - if(count($e) > 0) { |
|
70 | + if (count($e) > 0) { |
|
71 | 71 | $options = array_merge($opts, $post, $errors); |
72 | 72 | $this->display($options); |
73 | 73 | } else { |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | } |
98 | 98 | |
99 | 99 | public function finishSetup() { |
100 | - if( file_exists( $this->autoConfigFile )) { |
|
100 | + if (file_exists($this->autoConfigFile)) { |
|
101 | 101 | unlink($this->autoConfigFile); |
102 | 102 | } |
103 | 103 | \OC::$server->getIntegrityCodeChecker()->runInstanceVerification(); |
@@ -105,11 +105,11 @@ discard block |
||
105 | 105 | } |
106 | 106 | |
107 | 107 | public function loadAutoConfig($post) { |
108 | - if( file_exists($this->autoConfigFile)) { |
|
108 | + if (file_exists($this->autoConfigFile)) { |
|
109 | 109 | \OCP\Util::writeLog('core', 'Autoconfig file found, setting up Nextcloud…', ILogger::INFO); |
110 | 110 | $AUTOCONFIG = array(); |
111 | 111 | include $this->autoConfigFile; |
112 | - $post = array_merge ($post, $AUTOCONFIG); |
|
112 | + $post = array_merge($post, $AUTOCONFIG); |
|
113 | 113 | } |
114 | 114 | |
115 | 115 | $dbIsSet = isset($post['dbtype']); |