[Pkg-owncloud-commits] [owncloud] 107/457: Deprecate useless helper class
David Prévot
taffit at moszumanska.debian.org
Sun Jun 28 20:05:40 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 c1f8829590bddef3e495d6045adaa21c573e6924
Author: Lukas Reschke <lukas at owncloud.com>
Date: Thu May 21 23:35:37 2015 +0200
Deprecate useless helper class
The helper class has no real reason anymore with 8.1.0 as we now have better public APIs. No need for an `IHelper` class like that from my opinion.
---
lib/private/apphelper.php | 4 +++-
lib/public/ihelper.php | 2 ++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/lib/private/apphelper.php b/lib/private/apphelper.php
index 5da080a..c4ddc1b 100644
--- a/lib/private/apphelper.php
+++ b/lib/private/apphelper.php
@@ -23,7 +23,8 @@
namespace OC;
/**
- * TODO: Description
+ * Class AppHelper
+ * @deprecated 8.1.0
*/
class AppHelper implements \OCP\IHelper {
/**
@@ -31,6 +32,7 @@ class AppHelper implements \OCP\IHelper {
* installed
* @param string $url the url that should be fetched
* @return string the content of the webpage
+ * @deprecated 8.1.0 Use \OCP\IServerContainer::getHTTPClientService
*/
public function getUrlContent($url) {
return \OC_Util::getUrlContent($url);
diff --git a/lib/public/ihelper.php b/lib/public/ihelper.php
index a42dbf5..41fe3f5 100644
--- a/lib/public/ihelper.php
+++ b/lib/public/ihelper.php
@@ -33,6 +33,7 @@ namespace OCP;
/**
* Functions that don't have any specific interface to place
* @since 6.0.0
+ * @deprecated 8.1.0
*/
interface IHelper {
/**
@@ -41,6 +42,7 @@ interface IHelper {
* @param string $url the url that should be fetched
* @return string the content of the webpage
* @since 6.0.0
+ * @deprecated 8.1.0 Use \OCP\IServerContainer::getHTTPClientService
*/
public function getUrlContent($url);
}
--
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