summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2013-06-24 10:51:11 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2013-06-24 10:51:11 (GMT)
commitc305701742e62dda384f7e1e71239f66999bdd83 (patch)
tree8eec965f01651dc4348a4bc990fc2eba01809fd5
parent26f12b6873f5380224b1a82aee21e97110624117 (diff)
downloadroundcubemail-plugins-kolab-c305701742e62dda384f7e1e71239f66999bdd83.tar.gz
Revert "Add support for CUTYPE parameter for event attendees"
This reverts commit 9fe8791236a5f23c27b015d82a6b7b3c806a550c.
-rw-r--r--plugins/libkolab/lib/kolab_format_xcal.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/plugins/libkolab/lib/kolab_format_xcal.php b/plugins/libkolab/lib/kolab_format_xcal.php
index f173a2e..b37b727 100644
--- a/plugins/libkolab/lib/kolab_format_xcal.php
+++ b/plugins/libkolab/lib/kolab_format_xcal.php
@@ -43,14 +43,6 @@ abstract class kolab_format_xcal extends kolab_format
'CHAIR' => kolabformat::Chair,
);
- protected $cutype_map = array(
- 'INDIVIDUAL' => kolabformat::CutypeIndividual,
- 'GROUP' => kolabformat::CutypeGroup,
- 'ROOM' => kolabformat::CutypeRoom,
- 'RESOURCE' => kolabformat::CutypeResource,
- 'UNKNOWN' => kolabformat::CutypeUnknown,
- );
-
protected $rrule_type_map = array(
'MINUTELY' => RecurrenceRule::Minutely,
'HOURLY' => RecurrenceRule::Hourly,
@@ -127,7 +119,6 @@ abstract class kolab_format_xcal extends kolab_format
}
$role_map = array_flip($this->role_map);
- $cutype_map = array_flip($this->cutype_map);
$part_status_map = array_flip($this->part_status_map);
$attvec = $this->obj->attendees();
for ($i=0; $i < $attvec->size(); $i++) {
@@ -136,7 +127,6 @@ abstract class kolab_format_xcal extends kolab_format
if ($cr->email() != $object['organizer']['email']) {
$object['attendees'][] = array(
'role' => $role_map[$attendee->role()],
- 'cutype' => $cutype_map[$attendee->cutype()],
'status' => $part_status_map[$attendee->partStat()],
'rsvp' => $attendee->rsvp(),
'email' => $cr->email(),
@@ -258,7 +248,6 @@ abstract class kolab_format_xcal extends kolab_format
$att->setContact($cr);
$att->setPartStat($this->part_status_map[$attendee['status']]);
$att->setRole($this->role_map[$attendee['role']] ? $this->role_map[$attendee['role']] : kolabformat::Required);
- $att->setCutype($this->cutype_map[$attendee['cutype']] ? $this->cutype_map[$attendee['cutype']] : kolabformat::CutypeIndividual);
$att->setRSVP((bool)$attendee['rsvp']);
if ($att->isValid()) {