Increment sequence property when updating an event
This commit is contained in:
parent
6973bbcaee
commit
7de0aa468c
1 changed files with 2 additions and 2 deletions
|
@ -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']));
|
||||
|
|
Loading…
Add table
Reference in a new issue