update deprecation message
This commit is contained in:
parent
e2806b0ae8
commit
aa10825026
|
@ -1304,7 +1304,7 @@ class OC_Util {
|
||||||
* @return string of the response or false on error
|
* @return string of the response or false on error
|
||||||
* This function get the content of a page via curl, if curl is enabled.
|
* This function get the content of a page via curl, if curl is enabled.
|
||||||
* If not, file_get_contents is used.
|
* 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) {
|
public static function getUrlContent($url) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue