Skip to content

Commit eb52435

Browse files
Remove circle name from share's recipient's e-mail notification
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
1 parent 535cdcd commit eb52435

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/Service/SendMailService.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,12 @@ private function generateMailExitingShares(
158158
$emailTemplate->addHeader();
159159

160160
if ($multiple) {
161-
$text = $this->l10n->t('%s shared multiple files with "%s".', [$author, $circleName]);
161+
$text = $this->l10n->t('%s shared multiple files with "%s".', [$author]);
162162
} else {
163-
$text = $this->l10n->t('%s shared a file with "%s".', [$author, $circleName]);
163+
$text = $this->l10n->t('%s shared a file with "%s".', [$author]);
164164
}
165165

166-
$text = $this->l10n->t('%s shared multiple files with "%s".', [$author, $circleName]);
166+
$text = $this->l10n->t('%s shared multiple files with "%s".', [$author]);
167167
$emailTemplate->addBodyText(htmlspecialchars($text), $text);
168168

169169
return $emailTemplate;

0 commit comments

Comments
 (0)