Short documentation for attendees in internal event struct; bugfix

This commit is contained in:
Thomas Bruederli 2011-07-15 13:44:45 +02:00
parent d7df8c76a9
commit 1036d10bd9
2 changed files with 7 additions and 1 deletions

View file

@ -1156,7 +1156,7 @@ class calendar extends rcube_plugin
foreach ($fblist as $slot) {
list($from, $to) = $slot;
if ($from <= $end && $to >= $start) {
if ($from <= $end && $to > $start) {
$status = 'BUSY';
break;
}

View file

@ -58,6 +58,12 @@
* 'id' => 'Attachment identifier'
* ),
* 'deleted_attachments' => array(), // array of attachment identifiers to delete when event is updated
* 'attendees' => array( // List of event participants
* 'name' => 'Participant name',
* 'email' => 'Participant e-mail address', // used as identifier
* 'role' => 'ORGANIZER|REQ-PARTICIPANT|OPT-PARTICIPANT|CHAIR',
* 'status' => 'NEEDS-ACTION|UNKNOWN|ACCEPTED|TENTATIVE|DECLINED'
* ),
* );
*/