Replace "notification" call with new function, removing enotify.php

This commit is contained in:
Michael 2021-10-19 19:45:36 +00:00
parent 4422be9cea
commit 2f1f6f6fb2
7 changed files with 7 additions and 46 deletions

View file

@ -365,7 +365,7 @@ class Register extends BaseModule
// send notification to admins
while ($admin = DBA::fetch($admins_stmt)) {
\notification([
DI::notify()->createFromArray([
'type' => Model\Notification\Type::SYSTEM,
'event' => 'SYSTEM_REGISTER_REQUEST',
'uid' => $admin['uid'],