Move Notify::TYPE_SYSTEM

This commit is contained in:
nupplaPhil 2020-02-04 22:23:37 +01:00
parent c6915dc672
commit 511556085a
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
4 changed files with 7 additions and 15 deletions

View file

@ -348,7 +348,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'],