summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/util.php b/lib/private/util.php
index 3a4c07c3eb7..05f10aef1e0 100644
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -1304,7 +1304,7 @@ class OC_Util {
* @return string of the response or false on error
* This function get the content of a page via curl, if curl is enabled.
* If not, file_get_contents is used.
- * @deprecated Use \OC::$server->getHTTPHelper()->getUrlContent($url);
+ * @deprecated Use \OC::$server->getHTTPClientService()->newClient()->get($url);
*/
public static function getUrlContent($url) {
try {