Merge pull request #16515 from owncloud/deprecate-useless-helper-class

Deprecate useless helper class
This commit is contained in:
Vincent Petry 2015-05-26 12:22:05 +02:00
commit f1fc7b155c
2 changed files with 5 additions and 1 deletions

View File

@ -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);

View File

@ -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);
}