diff options
author | Daniel Rudolf <github.com@daniel-rudolf.de> | 2021-08-04 20:02:57 +0300 |
---|---|---|
committer | Daniel Rudolf <github.com@daniel-rudolf.de> | 2021-08-04 20:02:57 +0300 |
commit | 4d7430949a5e6f6beba18a9b309dbc9d0d0a9a42 (patch) | |
tree | 6183a4495e5c3b38fee2457595309057f2129d7e /lib/base.php | |
parent | aa455e71d95c877b0dc758bc5c873d9278e6e112 (diff) |
Remove usage of \OC_Util::getDefaultPageUrl() and \OC_Util::redirectToDefaultPage()
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/base.php b/lib/base.php index 45d06da0303..94610576fce 100644 --- a/lib/base.php +++ b/lib/base.php @@ -1021,12 +1021,10 @@ class OC { OC_App::loadApps(); OC_User::setupBackends(); OC_Util::setupFS(); - // FIXME - // Redirect to default application - OC_Util::redirectToDefaultPage(); + header('Location: ' . \OC::$server->getURLGenerator()->linkToDefaultPageUrl()); } else { // Not handled and not logged in - header('Location: '.\OC::$server->getURLGenerator()->linkToRouteAbsolute('core.login.showLoginForm')); + header('Location: ' . \OC::$server->getURLGenerator()->linkToRouteAbsolute('core.login.showLoginForm')); } } |