mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-28 15:40:14 +00:00
We will only return supported-calendar-component-set on a calendar for now.
This commit is contained in:
parent
379747180a
commit
871e6841f1
@ -422,7 +422,7 @@ function collection_to_xml( $collection ) {
|
||||
$collations[] = $reply->NewXMLElement($reply->Caldav('supported-collation'), 'i;octet');
|
||||
$prop->NewElement($reply->Caldav('supported-collation-set'), $collations );
|
||||
}
|
||||
if ( isset($prop_list['urn:ietf:params:xml:ns:caldav:supported-calendar-component-set']) ) {
|
||||
if ( isset($prop_list['urn:ietf:params:xml:ns:caldav:supported-calendar-component-set']) && $request->IsCalendar() ) {
|
||||
// Note that this won't appear on a PROPFIND against a Principal URL, since this routine is only called for a collection
|
||||
$components = array();
|
||||
$set_of_components = array( 'VEVENT', 'VTODO', 'VJOURNAL', 'VTIMEZONE', 'VFREEBUSY' );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user