Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Send the footer with the defined language
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Mar 26, 2021
commit d99de5ccafeb0a76a6f43137272b26d0bde6c128
2 changes: 1 addition & 1 deletion lib/DigestSender.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public function sendDigestForUser(string $uid, int $now, string $timezone, strin
$template->addBodyListItem($l10n->n('and %n more ', 'and %n more ', $skippedCount));
}

$template->addFooter();
$template->addFooter('', $language);

$message = $this->mailer->createMessage();
$message->setTo([$user->getEMailAddress() => $user->getDisplayName()]);
Expand Down
2 changes: 1 addition & 1 deletion lib/MailQueueHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ protected function sendEmailToUser($userName, $email, $lang, $timezone, $maxTime
$template->addBodyListItem($l->n('and %n more ', 'and %n more ', $skippedCount));
}

$template->addFooter();
$template->addFooter('', $lang);

$message = $this->mailer->createMessage();
$message->setTo([$email => $user->getDisplayName()]);
Expand Down