aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-25 04:37:09 -0700
committerfriendica <info@friendica.com>2012-03-25 04:37:09 -0700
commit5bb73034088a3f69009140f6a43e0ea1d46f6a5a (patch)
tree4c32c0b1a1dce4d9952f0348586768d147ccf2a5 /include
parent2e797a6243e7fed3953bc0bfae6ceac4a1e65c63 (diff)
downloadvolse-hubzilla-5bb73034088a3f69009140f6a43e0ea1d46f6a5a.tar.gz
volse-hubzilla-5bb73034088a3f69009140f6a43e0ea1d46f6a5a.tar.bz2
volse-hubzilla-5bb73034088a3f69009140f6a43e0ea1d46f6a5a.zip
NOTIFY_SYSTEM
Diffstat (limited to 'include')
-rwxr-xr-xinclude/enotify.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/enotify.php b/include/enotify.php
index a505f1f04..e4617ab49 100755
--- a/include/enotify.php
+++ b/include/enotify.php
@@ -153,6 +153,11 @@ function notification($params) {
}
+ if($params['type'] == NOTIFY_SYSTEM) {
+
+
+ }
+
// from here on everything is in the recipients language
push_lang($params['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');