mirror of
https://github.com/friendica/friendica
synced 2025-04-24 03:10:11 +00:00
Replace "notification" call with new function, removing enotify.php
This commit is contained in:
parent
4422be9cea
commit
2f1f6f6fb2
7 changed files with 7 additions and 46 deletions
|
@ -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'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue