diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2015-12-17 13:03:37 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2015-12-17 16:18:34 +0100 |
commit | 7e44ea5da068bae204715e545b95c4852ad6283c (patch) | |
tree | cb69da44fbd42bfeae6a50d8bb46c9b5eddf9fda /lib/private/util.php | |
parent | d402ac91d70ead3e2824c2630904a9add51249e3 (diff) | |
download | nextcloud-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/private/util.php')
-rw-r--r-- | lib/private/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/util.php b/lib/private/util.php index 578001988d4..c63befb3f32 100644 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -1250,7 +1250,7 @@ class OC_Util { fclose($fp); // accessing the file via http - $url = OC_Helper::makeURLAbsolute(OC::$WEBROOT . '/data' . $fileName); + $url = \OC::$server->getURLGenerator()->getAbsoluteURL(OC::$WEBROOT . '/data' . $fileName); try { $content = \OC::$server->getHTTPClientService()->newClient()->get($url)->getBody(); } catch (\Exception $e) { |