summaryrefslogtreecommitdiffstats
path: root/lib/private/util.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-07-03 17:47:46 +0200
committerVincent Petry <pvince81@owncloud.com>2015-07-03 17:47:46 +0200
commitcc373ab89acd3d63e58b7323f0b128e988a6bba2 (patch)
tree91d5367475ee6c75c93ba14dd06b383aa32bd207 /lib/private/util.php
parentdbb3dc1be72888c27c052070dde7c24985030be8 (diff)
parent9866066d3ef3b36da7e7d1d354d39ae3820873a4 (diff)
downloadnextcloud-server-cc373ab89acd3d63e58b7323f0b128e988a6bba2.tar.gz
nextcloud-server-cc373ab89acd3d63e58b7323f0b128e988a6bba2.zip
Merge pull request #15470 from rullzer/files_sharing_getUrlContent
Move away from private static function OC_Util::getUrlContent
Diffstat (limited to 'lib/private/util.php')
-rw-r--r--lib/private/util.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/util.php b/lib/private/util.php
index 9c78ad3ad1c..1558a06f7fc 100644
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -1245,6 +1245,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 \OCP\Http\Client\IClientService
*/
public static function getUrlContent($url) {
try {