summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2020-08-09 18:13:14 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-08-11 21:58:51 +0200
commit4dd507675c8583a28b948872f6e2e9e3df043fb7 (patch)
treef7ea3ec15d7530b4a1b80d19e2a34f7d1f0bd667 /lib
parent50fdd45e9bbeaff811888ea5ddc984a5966bd6f6 (diff)
downloadnextcloud-server-4dd507675c8583a28b948872f6e2e9e3df043fb7.tar.gz
nextcloud-server-4dd507675c8583a28b948872f6e2e9e3df043fb7.zip
Generate password by password_policy app
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Share20/ProviderFactory.php3
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)
);
}