summaryrefslogtreecommitdiffstats
path: root/apps/settings/lib/Mailer
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-01-07 10:41:09 +0100
committerJulius Härtl <jus@bitgrid.net>2021-01-07 15:31:55 +0100
commit068e3b2c1e5293a1a19e78f60fd75e11d8e6d2de (patch)
treebf1d6bdd7e5206ce2e8c85f6d4b2bfaf837bd9e7 /apps/settings/lib/Mailer
parent82947263b90bb350501024da58809e7223fc4087 (diff)
downloadnextcloud-server-068e3b2c1e5293a1a19e78f60fd75e11d8e6d2de.tar.gz
nextcloud-server-068e3b2c1e5293a1a19e78f60fd75e11d8e6d2de.zip
Set the user language when adding the footer
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/settings/lib/Mailer')
-rw-r--r--apps/settings/lib/Mailer/NewUserMailHelper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/lib/Mailer/NewUserMailHelper.php b/apps/settings/lib/Mailer/NewUserMailHelper.php
index 5caa441a245..f8dfeec30ff 100644
--- a/apps/settings/lib/Mailer/NewUserMailHelper.php
+++ b/apps/settings/lib/Mailer/NewUserMailHelper.php
@@ -159,7 +159,7 @@ class NewUserMailHelper {
);
}
- $emailTemplate->addFooter();
+ $emailTemplate->addFooter('', $lang);
return $emailTemplate;
}