1
0
Fork 0

Move Notify::TYPE_SYSTEM

This commit is contained in:
nupplaPhil 2020-02-04 22:23:37 +01:00
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

@ -375,7 +375,7 @@ function notification($params)
}
}
if ($params['type'] == NOTIFY_SYSTEM) {
if ($params['type'] == Notify\Type::SYSTEM) {
switch($params['event']) {
case "SYSTEM_REGISTER_REQUEST":
$itemlink = $params['link'];
@ -456,7 +456,7 @@ function notification($params)
// send email notification if notification preferences permit
if ((intval($params['notify_flags']) & intval($params['type']))
|| $params['type'] == NOTIFY_SYSTEM) {
|| $params['type'] == Notify\Type::SYSTEM) {
Logger::log('sending notification email');