reenabled participants

This commit is contained in:
Lars Kneschke 2006-06-29 05:25:22 +00:00
parent d6d795aff7
commit ac7a22e835

View File

@ -163,7 +163,7 @@
$mailto = $GLOBALS['egw']->accounts->id2name($uid,'account_email');
$cn = trim($GLOBALS['egw']->accounts->id2name($uid,'account_firstname'). ' ' .
$GLOBALS['egw']->accounts->id2name($uid,'account_lastname'));
$attributes['ATTENDEE'][] = $mailto ? 'MAILTO:'.$mailto : '';
$attributes['ATTENDEE'][] = $mailto ? 'MAILTO:'. $cn .'<'. $mailto .'>' : '';
// ROLE={CHAIR|REQ-PARTICIPANT|OPT-PARTICIPANT|NON-PARTICIPANT} NOT used by eGW atm.
$role = $uid == $event['owner'] ? 'CHAIR' : 'REQ-PARTICIPANT';
// RSVP={TRUE|FALSE} // resonse expected, not set in eGW => status=U
@ -686,9 +686,8 @@
switch(strtolower($_productName))
{
default:
# participants disabled until working correctly
#$this->supportedFields = $defaultFields + array('participants' => 'participants');
$this->supportedFields = $defaultFields;
$this->supportedFields = $defaultFields + array('participants' => 'participants');
#$this->supportedFields = $defaultFields;
break;
}
break;