Update modified time when deleting

This commit is contained in:
Nathan Gray 2010-10-04 15:09:15 +00:00
parent 792027ab82
commit 7ae20bcf12

View File

@ -1249,7 +1249,7 @@ class calendar_boupdate extends calendar_bo
// mark all links to the event as deleted, but keep them // mark all links to the event as deleted, but keep them
egw_link::unlink(0,'calendar',$cal_id,'','','',true); egw_link::unlink(0,'calendar',$cal_id,'','','',true);
$event['deleted'] = $this->now; $event['modified'] = $event['deleted'] = $this->now;
$this->save($event, $ignore_acl); $this->save($event, $ignore_acl);
// Actually delete alarms // Actually delete alarms
if (isset($event['alarm']) && is_array($event['alarm'])) if (isset($event['alarm']) && is_array($event['alarm']))