1
0
Fork 0

Make EMailer util dynamic

This commit is contained in:
Philipp Holzer 2020-01-25 23:10:39 +01:00
commit ea9d3b7438
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
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,