From: friendica Date: Sun, 25 Mar 2012 11:37:09 +0000 (-0700) Subject: NOTIFY_SYSTEM X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5bb73034088a3f69009140f6a43e0ea1d46f6a5a;p=friendica.git NOTIFY_SYSTEM --- diff --git a/boot.php b/boot.php index ea88cd39b6..19661805c2 100755 --- a/boot.php +++ b/boot.php @@ -135,6 +135,9 @@ define ( 'NOTIFY_PROFILE', 0x0040 ); define ( 'NOTIFY_TAGSELF', 0x0080 ); define ( 'NOTIFY_TAGSHARE', 0x0100 ); +define ( 'NOTIFY_SYSTEM', 0x8000 ); + + /** * various namespaces we may need to parse */ diff --git a/include/enotify.php b/include/enotify.php index a505f1f040..e4617ab496 100755 --- a/include/enotify.php +++ b/include/enotify.php @@ -151,6 +151,11 @@ function notification($params) { if($params['type'] == NOTIFY_CONFIRM) { + } + + if($params['type'] == NOTIFY_SYSTEM) { + + } // from here on everything is in the recipients language @@ -223,7 +228,7 @@ function notification($params) { // send email notification if notification preferences permit 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');