From cc0a855103a562b2e3445e02396a75f79818f53c Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 4 Sep 2014 11:23:23 +0200 Subject: [PATCH] Use correct language package so the subject is correctly translated Fix #10847 Conflicts: lib/private/share/mailnotifications.php --- lib/private/share/mailnotifications.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/share/mailnotifications.php b/lib/private/share/mailnotifications.php index 1f4645eed9f..2f704fb2b3c 100644 --- a/lib/private/share/mailnotifications.php +++ b/lib/private/share/mailnotifications.php @@ -52,7 +52,7 @@ class MailNotifications { * @param string $sender user id (if nothing is set we use the currently logged-in user) */ public function __construct($sender = null) { - $this->l = \OC_L10N::get('core'); + $this->l = \OC::$server->getL10N('lib'); $this->senderId = $sender; -- 2.39.5