aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-03-14 09:49:24 +0100
committerGitHub <noreply@github.com>2018-03-14 09:49:24 +0100
commit0e48afafed1c3f4048e5e78bd5bdd8ff1f9d3883 (patch)
treed303cbecd0aff49ee28cbf3246dca362334df83f /lib/private/Server.php
parent7f00de841b3570f21c0be51dd9dced690f968210 (diff)
parentb93d26a20975c2568bc47d9470dac522dffa80c1 (diff)
downloadnextcloud-server-0e48afafed1c3f4048e5e78bd5bdd8ff1f9d3883.tar.gz
nextcloud-server-0e48afafed1c3f4048e5e78bd5bdd8ff1f9d3883.zip
Merge pull request #8804 from nextcloud/remove_httphelper
Remove deprecated HTTPHelper
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r--lib/private/Server.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index b404af5613d..109fb002ce5 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -630,13 +630,6 @@ class Server extends ServerContainer implements IServerContainer {
});
$this->registerAlias('DatabaseConnection', IDBConnection::class);
- $this->registerService('HTTPHelper', function (Server $c) {
- $config = $c->getConfig();
- return new HTTPHelper(
- $config,
- $c->getHTTPClientService()
- );
- });
$this->registerService(\OCP\Http\Client\IClientService::class, function (Server $c) {
$user = \OC_User::getUser();
@@ -1583,16 +1576,6 @@ class Server extends ServerContainer implements IServerContainer {
}
/**
- * Returns an instance of the HTTP helper class
- *
- * @deprecated Use getHTTPClientService()
- * @return \OC\HTTPHelper
- */
- public function getHTTPHelper() {
- return $this->query('HTTPHelper');
- }
-
- /**
* Get the certificate manager for the user
*
* @param string $userId (optional) if not specified the current loggedin user is used, use null to get the system certificate manager