mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 01:24:27 +02:00
notifications refactor
This commit is contained in:
parent
961e34f67f
commit
3da3cd686c
5 changed files with 111 additions and 5 deletions
|
@ -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) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue