From 7e625a8d22b4a243632a30f242d275d27a327258 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 8 Sep 2017 10:34:19 +0200 Subject: Use the language of the recipient for the share notification Signed-off-by: Joas Schilling --- lib/private/Server.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/private/Server.php') 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(), -- cgit v1.2.3