summaryrefslogtreecommitdiffstats
path: root/core/setup/controller.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-09-22 19:43:55 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-09-22 19:43:55 +0200
commit21412559df9461ae7395d8abe1a4c6850dadfad3 (patch)
treeffaa2d6e4a3ef1945c78b805f9d4b743a7726ff5 /core/setup/controller.php
parent831d34f084e4c2f6b13303f58e12a9f96eb10a74 (diff)
downloadnextcloud-server-21412559df9461ae7395d8abe1a4c6850dadfad3.tar.gz
nextcloud-server-21412559df9461ae7395d8abe1a4c6850dadfad3.zip
remove post setup check
Diffstat (limited to 'core/setup/controller.php')
-rw-r--r--core/setup/controller.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/core/setup/controller.php b/core/setup/controller.php
index 5da94e83ccc..02226ad9e42 100644
--- a/core/setup/controller.php
+++ b/core/setup/controller.php
@@ -22,12 +22,10 @@ class Controller {
if(count($e) > 0) {
$options = array_merge($opts, $post, $errors);
$this->display($options);
- }
- else {
+ } else {
$this->finishSetup();
}
- }
- else {
+ } else {
$options = array_merge($opts, $post);
$this->display($options);
}
@@ -53,8 +51,7 @@ class Controller {
}
public function finishSetup() {
- header( 'Location: '.\OC_Helper::linkToRoute( 'post_setup_check' ));
- exit();
+ \OC_Util::redirectToDefaultPage();
}
public function loadAutoConfig($post) {