Events: Now with guid.
This commit is contained in:
parent
3ba026b501
commit
06998f13b6
|
@ -376,6 +376,7 @@ function notifier_run(&$argv, &$argc){
|
||||||
|
|
||||||
$conversants = array_unique($conversants);
|
$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));
|
$recipients = array_unique(array_merge($recipients,$allow_people,$allow_groups));
|
||||||
$deny = array_unique(array_merge($deny_people,$deny_groups));
|
$deny = array_unique(array_merge($deny_people,$deny_groups));
|
||||||
|
@ -455,6 +456,8 @@ function notifier_run(&$argv, &$argc){
|
||||||
else
|
else
|
||||||
$recip_str = implode(', ', $recipients);
|
$recip_str = implode(', ', $recipients);
|
||||||
|
|
||||||
|
logger('Recipients for '.$target_item["guid"]." (Followup: ".$followup."): ".$recip_str, LOGGER_DEBUG);
|
||||||
|
|
||||||
if ($relocate)
|
if ($relocate)
|
||||||
$r = $recipients_relocate;
|
$r = $recipients_relocate;
|
||||||
else
|
else
|
||||||
|
|
|
@ -124,6 +124,7 @@ function events_post(&$a) {
|
||||||
|
|
||||||
|
|
||||||
$datarray = array();
|
$datarray = array();
|
||||||
|
$datarray['guid'] = get_guid(32);
|
||||||
$datarray['start'] = $start;
|
$datarray['start'] = $start;
|
||||||
$datarray['finish'] = $finish;
|
$datarray['finish'] = $finish;
|
||||||
$datarray['summary'] = $summary;
|
$datarray['summary'] = $summary;
|
||||||
|
|
Loading…
Reference in a new issue