]> git.mxchange.org Git - friendica.git/commitdiff
Events: Now with guid.
authorMichael Vogel <icarus@dabo.de>
Sun, 22 May 2016 16:05:01 +0000 (18:05 +0200)
committerMichael Vogel <icarus@dabo.de>
Sun, 22 May 2016 16:05:01 +0000 (18:05 +0200)
include/notifier.php
mod/events.php

index 6c90629bd87128865e0535d80e1a0523ae1f7ce7..a922dba346359f0ea5d3e5d37a271b0f0c950a3b 100644 (file)
@@ -376,6 +376,7 @@ function notifier_run(&$argv, &$argc){
 
                        $conversants = array_unique($conversants);
 
+                       logger('Allow data for '.$target_item["guid"].". People: ".implode(', ', $allow_people)." - Groups: ".implode(', ', $allow_groups), LOGGER_DEBUG);
 
                        $recipients = array_unique(array_merge($recipients,$allow_people,$allow_groups));
                        $deny = array_unique(array_merge($deny_people,$deny_groups));
@@ -455,6 +456,8 @@ function notifier_run(&$argv, &$argc){
        else
                $recip_str = implode(', ', $recipients);
 
+       logger('Recipients for '.$target_item["guid"]." (Followup: ".$followup."): ".$recip_str, LOGGER_DEBUG);
+
        if ($relocate)
                $r = $recipients_relocate;
        else
index 653ae489b8f97c8022fe68fcd6f7513e4b5fe009..633aaf0c1d6c0335ba78e9717a51d1d7b8ab3603 100644 (file)
@@ -124,6 +124,7 @@ function events_post(&$a) {
 
 
        $datarray = array();
+       $datarray['guid'] = get_guid(32);
        $datarray['start'] = $start;
        $datarray['finish'] = $finish;
        $datarray['summary'] = $summary;