diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2024-05-30 17:50:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-30 17:50:28 +0200 |
commit | 94a1b8a5916dc09249275065f60a6b45ecbd770c (patch) | |
tree | 736eed0fa4772d81e8722125e8d21ebd8302099e /lib/private/Share20 | |
parent | 22f185473d3102e7d591cf303d113ababc0e1017 (diff) | |
parent | 98666298c8d1ba8605c43ff70034073fe993c9cd (diff) | |
download | nextcloud-server-94a1b8a5916dc09249275065f60a6b45ecbd770c.tar.gz nextcloud-server-94a1b8a5916dc09249275065f60a6b45ecbd770c.zip |
Merge pull request #40151 from summersab/refactor/OC-Server-getMailer
Diffstat (limited to 'lib/private/Share20')
-rw-r--r-- | lib/private/Share20/ProviderFactory.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/Share20/ProviderFactory.php b/lib/private/Share20/ProviderFactory.php index 17e01e25d1d..e680a82c4aa 100644 --- a/lib/private/Share20/ProviderFactory.php +++ b/lib/private/Share20/ProviderFactory.php @@ -22,6 +22,7 @@ use OCP\Federation\ICloudFederationFactory; use OCP\Files\IRootFolder; use OCP\Http\Client\IClientService; use OCP\IServerContainer; +use OCP\Mail\IMailer; use OCP\Security\IHasher; use OCP\Share\IManager; use OCP\Share\IProviderFactory; @@ -79,7 +80,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->getL10NFactory(), $this->serverContainer->getURLGenerator(), @@ -172,7 +173,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, |