summaryrefslogtreecommitdiffstats
path: root/settings/Mailer/NewUserMailHelper.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-04-18 17:09:25 -0500
committerMorris Jobke <hey@morrisjobke.de>2017-04-19 15:46:41 -0500
commit16c4755e03f2a79437418a732cb8a6cfb5178cf9 (patch)
treef44d220f06e497be12d9e91c07ec8e32f3c72ec6 /settings/Mailer/NewUserMailHelper.php
parent01c9d00e1d6f5c558cade0689283fea953b3f581 (diff)
downloadnextcloud-server-16c4755e03f2a79437418a732cb8a6cfb5178cf9.tar.gz
nextcloud-server-16c4755e03f2a79437418a732cb8a6cfb5178cf9.zip
Rename renderHTML to renderHtml
* fixes #4383 * improves consistency Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'settings/Mailer/NewUserMailHelper.php')
-rw-r--r--settings/Mailer/NewUserMailHelper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/Mailer/NewUserMailHelper.php b/settings/Mailer/NewUserMailHelper.php
index 75ec62e5ad5..911952794fd 100644
--- a/settings/Mailer/NewUserMailHelper.php
+++ b/settings/Mailer/NewUserMailHelper.php
@@ -158,7 +158,7 @@ class NewUserMailHelper {
$message = $this->mailer->createMessage();
$message->setTo([$user->getEMailAddress() => $user->getDisplayName()]);
$message->setSubject($this->l10n->t('Your %s account was created', [$this->themingDefaults->getName()]));
- $message->setHtmlBody($emailTemplate->renderHTML());
+ $message->setHtmlBody($emailTemplate->renderHtml());
$message->setPlainBody($emailTemplate->renderText());
$message->setFrom([$this->fromAddress => $this->themingDefaults->getName()]);
$this->mailer->send($message);