X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=include%2Fitems.php;h=278a9242e430e97d5be3e063b31f3cc5e36a22f8;hb=3da3cd686cc7fa51e2c98e98dbf8bd3a65880bdd;hp=50c5e56c129e9dcacd366ff97298ceca21905865;hpb=e36bdd5c8901803996e8c24b05efebe03e5175c2;p=friendica.git diff --git a/include/items.php b/include/items.php index 50c5e56c12..278a9242e4 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) {