diff options
author | Joas Schilling <coding@schilljs.com> | 2017-09-08 10:34:19 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-09-08 10:48:16 +0200 |
commit | 7e625a8d22b4a243632a30f242d275d27a327258 (patch) | |
tree | cf6758e896cae235e5e8abe696864aa6a9a0cd15 /lib/private/Server.php | |
parent | 194f880073f5a549049db7387e9c988511a07d8b (diff) | |
download | nextcloud-server-7e625a8d22b4a243632a30f242d275d27a327258.tar.gz nextcloud-server-7e625a8d22b4a243632a30f242d275d27a327258.zip |
Use the language of the recipient for the share notification
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r-- | lib/private/Server.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php index 3a4fac175e8..fb0aa76cd17 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -55,8 +55,6 @@ use OC\Authentication\LoginCredentials\Store; use OC\Command\CronBus; use OC\Contacts\ContactsMenu\ActionFactory; use OC\Diagnostics\EventLogger; -use OC\Diagnostics\NullEventLogger; -use OC\Diagnostics\NullQueryLogger; use OC\Diagnostics\QueryLogger; use OC\Federation\CloudIdManager; use OC\Files\Config\UserMountCache; @@ -114,7 +112,6 @@ use OCP\IL10N; use OCP\IServerContainer; use OCP\ITempManager; use OCP\Contacts\ContactsMenu\IActionFactory; -use OCP\IURLGenerator; use OCP\Lock\ILockingProvider; use OCP\RichObjectStrings\IValidator; use OCP\Security\IContentSecurityPolicyManager; @@ -980,7 +977,8 @@ class Server extends ServerContainer implements IServerContainer { $c->getHasher(), $c->getMountManager(), $c->getGroupManager(), - $c->getL10N('core'), + $c->getL10N('lib'), + $c->getL10NFactory(), $factory, $c->getUserManager(), $c->getLazyRootFolder(), |