summaryrefslogtreecommitdiff
path: root/plugins/libkolab
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2015-02-19 14:13:13 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2015-02-19 14:13:13 (GMT)
commitac2bd4700f55cdd48337f55240bc37066d309320 (patch)
treefb5355160d6dd63a10c6ae0ca3843ca76f83d337 /plugins/libkolab
parentb47b13a35ebb65cecbe028a177deed10752ee7cc (diff)
downloadroundcubemail-plugins-kolab-ac2bd4700f55cdd48337f55240bc37066d309320.tar.gz
Store recurrence-id for single (non-recurring) events and use for iTip replies
Diffstat (limited to 'plugins/libkolab')
-rw-r--r--plugins/libkolab/lib/kolab_format_event.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/libkolab/lib/kolab_format_event.php b/plugins/libkolab/lib/kolab_format_event.php
index 979b33b..0c90e85 100644
--- a/plugins/libkolab/lib/kolab_format_event.php
+++ b/plugins/libkolab/lib/kolab_format_event.php
@@ -122,6 +122,9 @@ class kolab_format_event extends kolab_format_xcal
}
$this->obj->setExceptions($vexceptions);
}
+ else if ($object['recurrence_date'] && $object['recurrence_date'] instanceof DateTime) {
+ $this->obj->setRecurrenceID(self::get_datetime($object['recurrence_date'], null, $object['allday']), (bool)$object['thisandfuture']);
+ }
// cache this data
$this->data = $object;