X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FRegister.php;h=dd603ad206a803a024f8094ea5df83e3874bbdb8;hb=bb1517a74c6252a89812929e98910d9e293664a9;hp=98af06543d1d2f1552c637806d5f0c300b7dd4f4;hpb=0f0c58ddb36968845ebb25914e710c3f1324fbd6;p=friendica.git diff --git a/src/Module/Register.php b/src/Module/Register.php index 98af06543d..dd603ad206 100644 --- a/src/Module/Register.php +++ b/src/Module/Register.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; @@ -348,7 +367,7 @@ class Register extends BaseModule // send notification to admins while ($admin = DBA::fetch($admins_stmt)) { \notification([ - 'type' => NOTIFY_SYSTEM, + 'type' => Model\Notify\Type::SYSTEM, 'event' => 'SYSTEM_REGISTER_REQUEST', 'source_name' => $user['username'], 'source_mail' => $user['email'],