diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2018-03-14 09:49:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-14 09:49:24 +0100 |
commit | 0e48afafed1c3f4048e5e78bd5bdd8ff1f9d3883 (patch) | |
tree | d303cbecd0aff49ee28cbf3246dca362334df83f /lib/private/Server.php | |
parent | 7f00de841b3570f21c0be51dd9dced690f968210 (diff) | |
parent | b93d26a20975c2568bc47d9470dac522dffa80c1 (diff) | |
download | nextcloud-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.php | 17 |
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 |