aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Share20/ProviderFactory.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-06-23 08:14:27 +0200
committerJoas Schilling <coding@schilljs.com>2020-06-23 22:01:40 +0200
commit95652d4469431036532085a9a00ce322e80a13ec (patch)
treecf264b7ad6be6fee58244ccd1b2fef256920ce94 /lib/private/Share20/ProviderFactory.php
parenta29359a7267572d1b8ef2bcf34464b02a6aba9da (diff)
downloadnextcloud-server-95652d4469431036532085a9a00ce322e80a13ec.tar.gz
nextcloud-server-95652d4469431036532085a9a00ce322e80a13ec.zip
Fix language in share notes email for users
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Share20/ProviderFactory.php')
-rw-r--r--lib/private/Share20/ProviderFactory.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/Share20/ProviderFactory.php b/lib/private/Share20/ProviderFactory.php
index 891a5d2c31c..73a14dd4ac1 100644
--- a/lib/private/Share20/ProviderFactory.php
+++ b/lib/private/Share20/ProviderFactory.php
@@ -87,8 +87,9 @@ class ProviderFactory implements IProviderFactory {
$this->serverContainer->getLazyRootFolder(),
$this->serverContainer->getMailer(),
$this->serverContainer->query(Defaults::class),
- $this->serverContainer->getL10N('sharing'),
- $this->serverContainer->getURLGenerator()
+ $this->serverContainer->getL10NFactory(),
+ $this->serverContainer->getURLGenerator(),
+ $this->serverContainer->getConfig()
);
}