From 06998f13b61fcd50588f425703793bacc2e55cab Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 22 May 2016 18:05:01 +0200 Subject: [PATCH] Events: Now with guid. --- include/notifier.php | 3 +++ mod/events.php | 1 + 2 files changed, 4 insertions(+) diff --git a/include/notifier.php b/include/notifier.php index 6c90629bd8..a922dba346 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -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 diff --git a/mod/events.php b/mod/events.php index 653ae489b8..633aaf0c1d 100644 --- a/mod/events.php +++ b/mod/events.php @@ -124,6 +124,7 @@ function events_post(&$a) { $datarray = array(); + $datarray['guid'] = get_guid(32); $datarray['start'] = $start; $datarray['finish'] = $finish; $datarray['summary'] = $summary; -- 2.39.5