]> source.dussan.org Git - nextcloud-server.git/commitdiff
Adhere to EMailTemplate interface in constructor call. 20683/head
authorTekhnee <info@tekhnee.org>
Sat, 25 Apr 2020 18:24:21 +0000 (21:24 +0300)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Mon, 27 Apr 2020 09:14:22 +0000 (09:14 +0000)
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 5125a39b118a09954b5ec53c927da4d779538658..2c146b866ec27737041e9a37b965c4f0f6b4342c 100644 (file)
@@ -140,7 +140,7 @@ class Mailer implements IMailer {
                        return new $class(
                                $this->defaults,
                                $this->urlGenerator,
-                               $this->l10n,
+                               $this->l10nFactory,
                                $emailId,
                                $data
                        );