update deprecation message

This commit is contained in:
Morris Jobke 2015-10-14 08:28:12 +02:00
parent e2806b0ae8
commit aa10825026
1 changed files with 1 additions and 1 deletions

View File

@ -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 {