Increment sequence property when updating an event

This commit is contained in:
Thomas Bruederli 2012-05-10 21:25:57 +02:00
parent 6973bbcaee
commit 7de0aa468c

View file

@ -144,8 +144,8 @@ class kolab_format_event extends kolab_format
if (!empty($object['uid']))
$this->obj->setUid($object['uid']);
// TODO: increase sequence
// $this->obj->setSequence($this->obj->sequence()+1);
// increment sequence
$this->obj->setSequence($this->obj->sequence()+1);
// do the hard work of setting object values
$this->obj->setStart(self::get_datetime($object['start'], null, $object['allday']));