diff options
Diffstat (limited to 'lib/private/Share20/ProviderFactory.php')
-rw-r--r-- | lib/private/Share20/ProviderFactory.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/Share20/ProviderFactory.php b/lib/private/Share20/ProviderFactory.php index 0606fe9c849..ea374931811 100644 --- a/lib/private/Share20/ProviderFactory.php +++ b/lib/private/Share20/ProviderFactory.php @@ -30,7 +30,6 @@ namespace OC\Share20; -use OC\CapabilitiesManager; use OC\Share20\Exception\ProviderException; use OCA\FederatedFileSharing\AddressHandler; use OCA\FederatedFileSharing\FederatedShareProvider; @@ -184,7 +183,7 @@ class ProviderFactory implements IProviderFactory { $settingsManager, $this->serverContainer->query(Defaults::class), $this->serverContainer->getHasher(), - $this->serverContainer->query(CapabilitiesManager::class) + $this->serverContainer->get(IEventDispatcher::class) ); } |