Make EMailer util dynamic

This commit is contained in:
nupplaPhil
2020-01-25 23:10:39 +01:00
parent 9269221825
commit ea9d3b7438
4 changed files with 11 additions and 3 deletions

View File

@@ -610,7 +610,7 @@ function notification($params)
]);
// use the Emailer class to send the message
return Emailer::send([
return DI::emailer()->send([
'uid' => $params['uid'],
'fromName' => $sender_name,
'fromEmail' => $sender_email,