missing rename boical --> calendar_ical

This commit is contained in:
Ralf Becker 2008-06-12 07:02:18 +00:00
parent 58fe7382df
commit bc6f5c6a21

View File

@ -105,7 +105,7 @@ class calendar_groupdav extends groupdav_handler
);
if ($calendar_data)
{
$content = ExecMethod2('calendar.boical.exportVCal',array($event),'2.0','PUBLISH',false,false);
$content = ExecMethod2('calendar.calendar_ical.exportVCal',array($event),'2.0','PUBLISH',false,false);
$props[] = HTTP_WebDAV_Server::mkprop('getcontentlength',bytes($content));
$props[] = HTTP_WebDAV_Server::mkprop(groupdav::CALDAV,'calendar-data',$content);
}
@ -246,7 +246,7 @@ class calendar_groupdav extends groupdav_handler
{
return $event;
}
$options['data'] = ExecMethod2('calendar.boical.exportVCal',array($event),'2.0','PUBLISH',false,false);
$options['data'] = ExecMethod2('calendar.calendar_ical.exportVCal',array($event),'2.0','PUBLISH',false,false);
$options['mimetype'] = 'text/calendar; charset=utf-8';
header('Content-Encoding: identity');
header('ETag: '.$this->get_etag($event));
@ -269,7 +269,7 @@ class calendar_groupdav extends groupdav_handler
{
return $event;
}
if (!($cal_id = ExecMethod2('calendar.boical.importVCal',$options['content'],is_numeric($id) ? $id : -1,
if (!($cal_id = ExecMethod2('calendar.calendar_ical.importVCal',$options['content'],is_numeric($id) ? $id : -1,
self::etag2value($this->http_if_match))))
{
if ($this->debug) error_log(__METHOD__."(,$id) importVCal($options[content]) returned false");