]> source.dussan.org Git - nextcloud-server.git/commitdiff
Adhere to EMailTemplate interface in constructor call. 20650/head
authorTekhnee <info@tekhnee.org>
Sat, 25 Apr 2020 18:24:21 +0000 (21:24 +0300)
committerGitHub <noreply@github.com>
Sat, 25 Apr 2020 18:24:21 +0000 (21:24 +0300)
Email creation appears to have been refactored lately but it looks like custom template-based emails were left out.

Signed-off-by: Tekhnee <info@tekhnee.org>
lib/private/Mail/Mailer.php

index 3ef77e6239c484517040fae161a092a03da159f5..120cbdfe6abc3a6030ba9c435aeb0b9f9c2ae49d 100644 (file)
@@ -154,7 +154,7 @@ class Mailer implements IMailer {
                        return new $class(
                                $this->defaults,
                                $this->urlGenerator,
-                               $this->l10n,
+                               $this->l10nFactory,
                                $emailId,
                                $data
                        );