aboutsummaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2015-12-17 13:03:37 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2015-12-17 16:18:34 +0100
commit7e44ea5da068bae204715e545b95c4852ad6283c (patch)
treecb69da44fbd42bfeae6a50d8bb46c9b5eddf9fda /lib/base.php
parentd402ac91d70ead3e2824c2630904a9add51249e3 (diff)
downloadnextcloud-server-7e44ea5da068bae204715e545b95c4852ad6283c.tar.gz
nextcloud-server-7e44ea5da068bae204715e545b95c4852ad6283c.zip
Remove deprecated function OC_User::getManager
Private deprecated function => removed Replaced all instances with suggested replacement
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index 038c259ecf6..8f1432d6fb9 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -875,7 +875,7 @@ class OC {
// Handle redirect URL for logged in users
if (isset($_REQUEST['redirect_url']) && OC_User::isLoggedIn()) {
- $location = OC_Helper::makeURLAbsolute(urldecode($_REQUEST['redirect_url']));
+ $location = \OC::$server->getURLGenerator()->getAbsoluteURL(urldecode($_REQUEST['redirect_url']));
// Deny the redirect if the URL contains a @
// This prevents unvalidated redirects like ?redirect_url=:user@domain.com