diff options
Diffstat (limited to 'lib/private/Share20/ProviderFactory.php')
-rw-r--r-- | lib/private/Share20/ProviderFactory.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/Share20/ProviderFactory.php b/lib/private/Share20/ProviderFactory.php index c9c0265c789..c79f58f6ba6 100644 --- a/lib/private/Share20/ProviderFactory.php +++ b/lib/private/Share20/ProviderFactory.php @@ -23,6 +23,7 @@ */ namespace OC\Share20; +use OC\CapabilitiesManager; use OCA\FederatedFileSharing\AddressHandler; use OCA\FederatedFileSharing\DiscoveryManager; use OCA\FederatedFileSharing\FederatedShareProvider; @@ -161,7 +162,8 @@ class ProviderFactory implements IProviderFactory { $this->serverContainer->getActivityManager(), $settingsManager, $this->serverContainer->query(Defaults::class), - $this->serverContainer->getHasher() + $this->serverContainer->getHasher(), + $this->serverContainer->query(CapabilitiesManager::class) ); } |