[Pkg-owncloud-commits] [owncloud] 19/129: update deprecation message

David Prévot taffit at moszumanska.debian.org
Thu Nov 5 01:04:18 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit 0eb374fe12bed213403ff0074b90567a05ae14a7
Author: Morris Jobke <hey at morrisjobke.de>
Date:   Wed Oct 14 08:28:12 2015 +0200

    update deprecation message
---
 lib/private/util.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/util.php b/lib/private/util.php
index 3a4c07c..05f10ae 100644
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -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 {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list