diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-07-23 21:42:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-23 21:42:48 +0200 |
commit | ce314d948464321bb2fced0941a6345267a40f35 (patch) | |
tree | f94f6e801708ccc877dd7822f1adf68abb14225d /lib | |
parent | a169bd243ff4b014fa4238845dbebbbc2a4d1021 (diff) | |
parent | 0763a173321488acaadceb1eb0ecf1ec8691bf21 (diff) | |
download | nextcloud-server-ce314d948464321bb2fced0941a6345267a40f35.tar.gz nextcloud-server-ce314d948464321bb2fced0941a6345267a40f35.zip |
Merge pull request #21814 from nextcloud/techdebt/noid/federated_share_added-into-typed-event
Move federated_share_added into a typed event
Diffstat (limited to 'lib')
-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 128033f6498..0606fe9c849 100644 --- a/lib/private/Share20/ProviderFactory.php +++ b/lib/private/Share20/ProviderFactory.php @@ -39,6 +39,7 @@ use OCA\FederatedFileSharing\TokenHandler; use OCA\ShareByMail\Settings\SettingsManager; use OCA\ShareByMail\ShareByMailProvider; use OCP\Defaults; +use OCP\EventDispatcher\IEventDispatcher; use OCP\IServerContainer; use OCP\Share\IProviderFactory; use OCP\Share\IShare; @@ -127,7 +128,8 @@ class ProviderFactory implements IProviderFactory { $this->serverContainer->query(\OCP\OCS\IDiscoveryService::class), $this->serverContainer->getJobList(), \OC::$server->getCloudFederationProviderManager(), - \OC::$server->getCloudFederationFactory() + \OC::$server->getCloudFederationFactory(), + $this->serverContainer->query(IEventDispatcher::class) ); $tokenHandler = new TokenHandler( $this->serverContainer->getSecureRandom() |