summaryrefslogtreecommitdiffstats
path: root/lib/private/Share20
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-03-10 15:37:21 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2017-04-11 15:04:01 +0200
commit449011dae7ea0ec7eb8d6c78e89709982020e709 (patch)
treee102862917001ace40e23d7126973612cf7f2ac6 /lib/private/Share20
parent0dea31d48bbd0361cca4d67b9de05a9f9ad3a198 (diff)
downloadnextcloud-server-449011dae7ea0ec7eb8d6c78e89709982020e709.tar.gz
nextcloud-server-449011dae7ea0ec7eb8d6c78e89709982020e709.zip
remove discovery manager in favour of the OCSDiscoveryService
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'lib/private/Share20')
-rw-r--r--lib/private/Share20/ProviderFactory.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/private/Share20/ProviderFactory.php b/lib/private/Share20/ProviderFactory.php
index b411f42b262..5eb34a483e7 100644
--- a/lib/private/Share20/ProviderFactory.php
+++ b/lib/private/Share20/ProviderFactory.php
@@ -104,14 +104,10 @@ class ProviderFactory implements IProviderFactory {
$l,
$this->serverContainer->getCloudIdManager()
);
- $discoveryManager = new DiscoveryManager(
- $this->serverContainer->getMemCacheFactory(),
- $this->serverContainer->getHTTPClientService()
- );
$notifications = new Notifications(
$addressHandler,
$this->serverContainer->getHTTPClientService(),
- $discoveryManager,
+ $this->serverContainer->getOCSDiscoveryService(),
$this->serverContainer->getJobList()
);
$tokenHandler = new TokenHandler(