From: Tekhnee Date: Sat, 25 Apr 2020 18:24:21 +0000 (+0300) Subject: Adhere to EMailTemplate interface in constructor call. X-Git-Tag: v19.0.0beta6~25^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F20650%2Fhead;p=nextcloud-server.git Adhere to EMailTemplate interface in constructor call. Email creation appears to have been refactored lately but it looks like custom template-based emails were left out. Signed-off-by: Tekhnee --- diff --git a/lib/private/Mail/Mailer.php b/lib/private/Mail/Mailer.php index 3ef77e6239c..120cbdfe6ab 100644 --- a/lib/private/Mail/Mailer.php +++ b/lib/private/Mail/Mailer.php @@ -154,7 +154,7 @@ class Mailer implements IMailer { return new $class( $this->defaults, $this->urlGenerator, - $this->l10n, + $this->l10nFactory, $emailId, $data );