summaryrefslogtreecommitdiffstats
path: root/lib/private/util.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-10-13 10:23:24 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-10-14 14:08:45 +0200
commite2806b0ae814ee7c402f591d3ac85b97df7af2ba (patch)
tree36f39a95e1379b1c8799b18173d5b3d4d95f7a65 /lib/private/util.php
parentdf1313d025b483e823371d1e6aee001350095ad4 (diff)
downloadnextcloud-server-e2806b0ae814ee7c402f591d3ac85b97df7af2ba.tar.gz
nextcloud-server-e2806b0ae814ee7c402f591d3ac85b97df7af2ba.zip
Update list of deprecated methods
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 {