aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDaniel Rudolf <github.com@daniel-rudolf.de>2021-08-04 19:02:57 +0200
committerDaniel Rudolf <github.com@daniel-rudolf.de>2021-08-04 19:02:57 +0200
commit4d7430949a5e6f6beba18a9b309dbc9d0d0a9a42 (patch)
tree6183a4495e5c3b38fee2457595309057f2129d7e /lib
parentaa455e71d95c877b0dc758bc5c873d9278e6e112 (diff)
downloadnextcloud-server-4d7430949a5e6f6beba18a9b309dbc9d0d0a9a42.tar.gz
nextcloud-server-4d7430949a5e6f6beba18a9b309dbc9d0d0a9a42.zip
Remove usage of \OC_Util::getDefaultPageUrl() and \OC_Util::redirectToDefaultPage()
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/base.php6
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'));
}
}