From 7ee67339e0591af3dc8667c087972e2853a875df Mon Sep 17 00:00:00 2001
From: Tekhnee <info@tekhnee.org>
Date: Sat, 25 Apr 2020 21:24:21 +0300
Subject: [PATCH] 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 <info@tekhnee.org>
---
 lib/private/Mail/Mailer.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 			);
-- 
GitLab