NOTIFY_SYSTEM
This commit is contained in:
parent
2e797a6243
commit
5bb7303408
3
boot.php
3
boot.php
|
@ -135,6 +135,9 @@ define ( 'NOTIFY_PROFILE', 0x0040 );
|
||||||
define ( 'NOTIFY_TAGSELF', 0x0080 );
|
define ( 'NOTIFY_TAGSELF', 0x0080 );
|
||||||
define ( 'NOTIFY_TAGSHARE', 0x0100 );
|
define ( 'NOTIFY_TAGSHARE', 0x0100 );
|
||||||
|
|
||||||
|
define ( 'NOTIFY_SYSTEM', 0x8000 );
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* various namespaces we may need to parse
|
* various namespaces we may need to parse
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -151,6 +151,11 @@ function notification($params) {
|
||||||
|
|
||||||
if($params['type'] == NOTIFY_CONFIRM) {
|
if($params['type'] == NOTIFY_CONFIRM) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
if($params['type'] == NOTIFY_SYSTEM) {
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// from here on everything is in the recipients language
|
// from here on everything is in the recipients language
|
||||||
|
@ -223,7 +228,7 @@ function notification($params) {
|
||||||
// send email notification if notification preferences permit
|
// send email notification if notification preferences permit
|
||||||
|
|
||||||
require_once('bbcode.php');
|
require_once('bbcode.php');
|
||||||
if(intval($params['notify_flags']) & intval($params['type'])) {
|
if((intval($params['notify_flags']) & intval($params['type'])) || $params['type'] == NOTIFY_SYSTEM) {
|
||||||
|
|
||||||
logger('notification: sending notification email');
|
logger('notification: sending notification email');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user