aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-03-13 16:30:41 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-03-13 21:54:56 +0100
commit7785c3752fbfef792cd33dc5da2ee63e8263b9fa (patch)
tree66b68c5f9ce30ec87c51aebc7d9ffe0c14b30d2f /lib/private/Server.php
parentede723f1b19c4c1afb7627af85c1e2f8d8a31386 (diff)
downloadnextcloud-server-7785c3752fbfef792cd33dc5da2ee63e8263b9fa.tar.gz
nextcloud-server-7785c3752fbfef792cd33dc5da2ee63e8263b9fa.zip
Remove deprecated HTTPHelper
* Remove the HTTP Helper * Remove from Server Containter * Removed legacy share tests that use it Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
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 af739c91b02..09807b185da 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