Move Notify::TYPE_SYSTEM
This commit is contained in:
parent
c6915dc672
commit
511556085a
4 changed files with 7 additions and 15 deletions
|
|
@ -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');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue