diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2024-05-30 17:52:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-30 17:52:14 +0200 |
commit | 4d9199fb8879482e5c7615a57daed24dd0d761f6 (patch) | |
tree | e9d52bd178cc85ad02aa3e4f9e3866789e66d330 /lib/private/Share20/ProviderFactory.php | |
parent | 0963336fb1565fe8b7c496fccda5c74c06f863a5 (diff) | |
parent | be4e97d1dc309826a970700862f1e066231922c7 (diff) | |
download | nextcloud-server-4d9199fb8879482e5c7615a57daed24dd0d761f6.tar.gz nextcloud-server-4d9199fb8879482e5c7615a57daed24dd0d761f6.zip |
Merge branch 'master' into refactor/OC-Server-getL10NFactory
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Diffstat (limited to 'lib/private/Share20/ProviderFactory.php')
-rw-r--r-- | lib/private/Share20/ProviderFactory.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/private/Share20/ProviderFactory.php b/lib/private/Share20/ProviderFactory.php index 99af6da04a6..fde63a4c394 100644 --- a/lib/private/Share20/ProviderFactory.php +++ b/lib/private/Share20/ProviderFactory.php @@ -20,8 +20,10 @@ use OCP\Defaults; use OCP\EventDispatcher\IEventDispatcher; use OCP\Federation\ICloudFederationFactory; use OCP\Files\IRootFolder; +use OCP\Http\Client\IClientService; use OCP\IServerContainer; use OCP\L10N\IFactory; +use OCP\Mail\IMailer; use OCP\Security\IHasher; use OCP\Share\IManager; use OCP\Share\IProviderFactory; @@ -79,7 +81,7 @@ class ProviderFactory implements IProviderFactory { $this->serverContainer->getUserManager(), $this->serverContainer->getGroupManager(), $this->serverContainer->get(IRootFolder::class), - $this->serverContainer->getMailer(), + $this->serverContainer->get(IMailer::class), $this->serverContainer->query(Defaults::class), $this->serverContainer->get(IFactory::class), $this->serverContainer->getURLGenerator(), @@ -116,7 +118,7 @@ class ProviderFactory implements IProviderFactory { ); $notifications = new Notifications( $addressHandler, - $this->serverContainer->getHTTPClientService(), + $this->serverContainer->get(IClientService::class), $this->serverContainer->query(\OCP\OCS\IDiscoveryService::class), $this->serverContainer->getJobList(), \OC::$server->getCloudFederationProviderManager(), @@ -172,7 +174,7 @@ class ProviderFactory implements IProviderFactory { $this->serverContainer->get(IRootFolder::class), $this->serverContainer->getL10N('sharebymail'), $this->serverContainer->get(LoggerInterface::class), - $this->serverContainer->getMailer(), + $this->serverContainer->get(IMailer::class), $this->serverContainer->getURLGenerator(), $this->serverContainer->getActivityManager(), $settingsManager, |