From 1861a9de2278ee74d16f1be1a8091ca002582408 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 12 Sep 2016 11:20:15 +0200 Subject: [PATCH] no need to report VCALENDAR in supported-calendar-component-set --- calendar/inc/class.calendar_groupdav.inc.php | 1 - infolog/inc/class.infolog_groupdav.inc.php | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/calendar/inc/class.calendar_groupdav.inc.php b/calendar/inc/class.calendar_groupdav.inc.php index 5d0e1b6609..94b98b3cf9 100644 --- a/calendar/inc/class.calendar_groupdav.inc.php +++ b/calendar/inc/class.calendar_groupdav.inc.php @@ -1500,7 +1500,6 @@ class calendar_groupdav extends Api\CalDAV\Handler $props['calendar-description'] = Api\CalDAV::mkprop(Api\CalDAV::CALDAV,'calendar-description',$displayname); } $supported_components = array( - Api\CalDAV::mkprop(Api\CalDAV::CALDAV,'comp',array('name' => 'VCALENDAR')), Api\CalDAV::mkprop(Api\CalDAV::CALDAV,'comp',array('name' => 'VEVENT')), ); // outbox supports VFREEBUSY too, it is required from OS X iCal to autocomplete locations diff --git a/infolog/inc/class.infolog_groupdav.inc.php b/infolog/inc/class.infolog_groupdav.inc.php index cdc5a780a1..fd5077416a 100644 --- a/infolog/inc/class.infolog_groupdav.inc.php +++ b/infolog/inc/class.infolog_groupdav.inc.php @@ -799,9 +799,8 @@ class infolog_groupdav extends Api\CalDAV\Handler // calendar description $displayname = Api\Translation::convert(lang('Tasks of'),Api\Translation::charset(),'utf-8').' '.$displayname; $props['calendar-description'] = Api\CalDAV::mkprop(Api\CalDAV::CALDAV,'calendar-description',$displayname); - // supported components, currently only VEVENT + // supported components, currently only VTODO $props['supported-calendar-component-set'] = Api\CalDAV::mkprop(Api\CalDAV::CALDAV,'supported-calendar-component-set',array( - Api\CalDAV::mkprop(Api\CalDAV::CALDAV,'comp',array('name' => 'VCALENDAR')), Api\CalDAV::mkprop(Api\CalDAV::CALDAV,'comp',array('name' => 'VTODO')), )); // supported reports