Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_retention.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-07-15 15:51:30 +0300
committerJoas Schilling <coding@schilljs.com>2022-07-15 15:51:30 +0300
commitf7608321dab87992534958733fbdbe660af27f12 (patch)
tree7853d31d55776f84876b775d0fbefcf9692dff1b
parentf64df82ace4bd0cfa8810677a46e420cac707de1 (diff)
Fix $languageCode parameterbugfix/190/fix-language-code-parameter
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--lib/Notification/Notifier.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php
index 59937ed..e3e6d0c 100644
--- a/lib/Notification/Notifier.php
+++ b/lib/Notification/Notifier.php
@@ -68,7 +68,7 @@ class Notifier implements INotifier {
}
$node = array_pop($nodes);
- $l = $this->l10Factory->get($languageCode);
+ $l = $this->l10Factory->get(Application::APP_ID, $languageCode);
$notification->setRichSubject(
$l->t('{file} will be removed in 24 hours'),
[