removed not existing calendar_tracking (history) from 1.8 calendar

This commit is contained in:
Ralf Becker 2012-04-02 10:00:49 +00:00
parent 915f0f3493
commit 41e4581c30

View File

@ -1047,11 +1047,6 @@ class calendar_boupdate extends calendar_bo
}
if ($updateTS) $GLOBALS['egw']->contenthistory->updateTimeStamp('calendar', $cal_id, $event['id'] ? 'modify' : 'add', $this->now);
// Update history
$tracking = new calendar_tracking($this);
if (empty($event['id']) && !empty($cal_id)) $event['id']=$cal_id;
$tracking->track($event, $old_event);
return $cal_id;
}
@ -1270,12 +1265,6 @@ class calendar_boupdate extends calendar_bo
if (isset($recur_date)) $event = $this->read($event['id'],$recur_date); //re-read the actually edited recurring event
$this->send_update($status2msg[$status],$event['participants'],$event);
}
// Update history
$event = $this->read($cal_id, $recur_date, false, 'server');
$tracking = new calendar_tracking($this);
$tracking->track($event, $old_event);
}
return $Ok;
}