aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-12-08 01:28:27 -0800
committerfriendica <info@friendica.com>2011-12-08 01:28:27 -0800
commit3da3cd686cc7fa51e2c98e98dbf8bd3a65880bdd (patch)
treee18be4db0a3c0d980c4634f9f8821671ac598a93 /include/items.php
parent961e34f67f477d18619d7d9a4aa8856a879b679a (diff)
downloadvolse-hubzilla-3da3cd686cc7fa51e2c98e98dbf8bd3a65880bdd.tar.gz
volse-hubzilla-3da3cd686cc7fa51e2c98e98dbf8bd3a65880bdd.tar.bz2
volse-hubzilla-3da3cd686cc7fa51e2c98e98dbf8bd3a65880bdd.zip
notifications refactor
Diffstat (limited to 'include/items.php')
-rw-r--r--include/items.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php
index 50c5e56c1..278a9242e 100644
--- a/include/items.php
+++ b/include/items.php
@@ -1824,6 +1824,21 @@ function local_delivery($importer,$data) {
// send email notification if requested.
+ $notif_params = array(
+ 'type' => NOTIFY_MAIL,
+ 'notify_flags' => $importer['notify_flags'],
+ 'language' => $importer['language'],
+ 'to_name' => $importer['username'],
+ 'to_email' => $importer['email'],
+ 'title' => $msg['title'],
+ 'body' => $msg['body'],
+ 'source_name' => $msg['from-name'],
+ 'source_link' => $importer['url'],
+ 'source_photo' => $importer['thumb'],
+ );
+
+ //notification($notif_params);
+
require_once('bbcode.php');
if($importer['notify-flags'] & NOTIFY_MAIL) {