Skip to content

Commit

Permalink
fixup! Provide the proper language to the mailer
Browse files Browse the repository at this point in the history
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
  • Loading branch information
rullzer committed Mar 31, 2020
1 parent e2c70d2 commit 680da86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/public/Mail/IEMailTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,11 @@ public function addBodyButton(string $text, string $url, $plainText = '');
* Adds a logo and a text to the footer. <br> in the text will be replaced by new lines in the plain text email
*
* @param string $text If the text is empty the default "Name - Slogan<br>This is an automatically sent email" will be used
* @param string $lang Optional language to set the default footer in
*
* @since 12.0.0
*/
public function addFooter(string $text = '');
public function addFooter(string $text = '', string $lang = null);

/**
* Returns the rendered email subject as string
Expand Down

0 comments on commit 680da86

Please sign in to comment.