no need to report VCALENDAR in supported-calendar-component-set

This commit is contained in:
Ralf Becker 2016-09-12 11:20:15 +02:00
parent dfb260d809
commit 1861a9de22
2 changed files with 1 additions and 3 deletions

View File

@ -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

View File

@ -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