Replace "notification" call with new function, removing enotify.php
This commit is contained in:
@@ -104,7 +104,7 @@ class Mail
|
||||
'link' => DI::baseUrl() . '/message/' . $msg['id'],
|
||||
];
|
||||
|
||||
notification($notif_params);
|
||||
DI::notify()->createFromArray($notif_params);
|
||||
|
||||
Logger::info('Mail is processed, notification was sent.', ['id' => $msg['id'], 'uri' => $msg['uri']]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user