summaryrefslogtreecommitdiffstats
path: root/apps/sharebymail/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-04-12 11:52:33 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2017-04-12 17:16:26 +0200
commit506c7731a6168e35bff28c32d9bea933aee907d4 (patch)
tree6d7c607c4dc1c653665e6e34c426916e771810cd /apps/sharebymail/lib
parentd0bae447fb4a8ad6e7b3d51390cb9a2bdbf24591 (diff)
downloadnextcloud-server-506c7731a6168e35bff28c32d9bea933aee907d4.tar.gz
nextcloud-server-506c7731a6168e35bff28c32d9bea933aee907d4.zip
Don't duplicate the sentence with the header
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/sharebymail/lib')
-rw-r--r--apps/sharebymail/lib/ShareByMailProvider.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/sharebymail/lib/ShareByMailProvider.php b/apps/sharebymail/lib/ShareByMailProvider.php
index 8f63ef028d9..f2c68f9376d 100644
--- a/apps/sharebymail/lib/ShareByMailProvider.php
+++ b/apps/sharebymail/lib/ShareByMailProvider.php
@@ -264,7 +264,7 @@ class ShareByMailProvider implements IShareProvider {
$emailTemplate = $this->mailer->createEMailTemplate();
$emailTemplate->addHeader();
- $emailTemplate->addHeading($this->l->t('%s shared »%s« with you', [$ownerDisplayName, $filename]));
+ $emailTemplate->addHeading($this->l->t('%s shared »%s« with you', [$ownerDisplayName, $filename]), false);
if ($owner === $initiator) {
$text = $this->l->t('%s shared »%s« with you.', [$ownerDisplayName, $filename]);