diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-06-12 17:52:52 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-12 17:52:52 -0500 |
commit | aa243376ef64c3c693c35bde11335a353ca15a57 (patch) | |
tree | 0699bff940ea15815a105e9a512f4884620aadde /settings/Mailer/NewUserMailHelper.php | |
parent | 69b65042858eb8436a91af511c5e77cfeefff924 (diff) | |
parent | a4b48d55ad9bc81e8795aa19c0af0f79956cf222 (diff) | |
download | nextcloud-server-aa243376ef64c3c693c35bde11335a353ca15a57.tar.gz nextcloud-server-aa243376ef64c3c693c35bde11335a353ca15a57.zip |
Merge pull request #5271 from nextcloud/use-mailer-to-create-email-template
Also use IMailer interface to generate the email template
Diffstat (limited to 'settings/Mailer/NewUserMailHelper.php')
-rw-r--r-- | settings/Mailer/NewUserMailHelper.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/settings/Mailer/NewUserMailHelper.php b/settings/Mailer/NewUserMailHelper.php index 911952794fd..cd6d6ee67f5 100644 --- a/settings/Mailer/NewUserMailHelper.php +++ b/settings/Mailer/NewUserMailHelper.php @@ -115,11 +115,7 @@ class NewUserMailHelper { $link = $this->urlGenerator->getAbsoluteURL('/'); } - $emailTemplate = new EMailTemplate( - $this->themingDefaults, - $this->urlGenerator, - $this->l10n - ); + $emailTemplate = $this->mailer->createEMailTemplate(); $emailTemplate->addHeader(); $displayName = $user->getDisplayName(); $userName = $user->getUID(); |