diff --git a/calendar/inc/class.calendar_groupdav.inc.php b/calendar/inc/class.calendar_groupdav.inc.php index 0609529505..46273f2664 100644 --- a/calendar/inc/class.calendar_groupdav.inc.php +++ b/calendar/inc/class.calendar_groupdav.inc.php @@ -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");