diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-09-22 19:43:55 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-09-22 19:43:55 +0200 |
commit | 21412559df9461ae7395d8abe1a4c6850dadfad3 (patch) | |
tree | ffaa2d6e4a3ef1945c78b805f9d4b743a7726ff5 /core/setup/controller.php | |
parent | 831d34f084e4c2f6b13303f58e12a9f96eb10a74 (diff) | |
download | nextcloud-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.php | 9 |
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) { |