summaryrefslogtreecommitdiffstats
path: root/settings/Hooks.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/Hooks.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/Hooks.php')
-rw-r--r--settings/Hooks.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/Hooks.php b/settings/Hooks.php
index 721aeb23886..2d8b17ebfd9 100644
--- a/settings/Hooks.php
+++ b/settings/Hooks.php
@@ -104,7 +104,7 @@ class Hooks {
$message->setTo([$user->getEMailAddress() => $user->getDisplayName()]);
$message->setSubject($this->l->t('Password for %1$s changed on %2$s', [$user->getDisplayName(), $instanceUrl]));
$message->setBody($template->renderText(), 'text/plain');
- $message->setHtmlBody($template->renderHTML());
+ $message->setHtmlBody($template->renderHtml());
$this->mailer->send($message);
}
@@ -157,7 +157,7 @@ class Hooks {
$message->setTo([$oldMailAddress => $user->getDisplayName()]);
$message->setSubject($this->l->t('Email address for %1$s changed on %2$s', [$user->getDisplayName(), $instanceUrl]));
$message->setBody($template->renderText(), 'text/plain');
- $message->setHtmlBody($template->renderHTML());
+ $message->setHtmlBody($template->renderHtml());
$this->mailer->send($message);
}