summaryrefslogtreecommitdiffstats
path: root/lib/private/util.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/util.php')
-rw-r--r--lib/private/util.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/util.php b/lib/private/util.php
index 9ea355f0168..3a4c07c3eb7 100644
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -1300,12 +1300,11 @@ class OC_Util {
/**
* Get URL content
* @param string $url Url to get content
- * @deprecated Use \OC::$server->getHTTPHelper()->getUrlContent($url);
* @throws Exception If the URL does not start with http:// or https://
* @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 \OCP\Http\Client\IClientService
+ * @deprecated Use \OC::$server->getHTTPHelper()->getUrlContent($url);
*/
public static function getUrlContent($url) {
try {