mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-01 16:11:20 +00:00
Deny setting of deprecated free-busy-set.
This commit is contained in:
parent
9b971b26dc
commit
d09ac0d004
@ -97,6 +97,14 @@ foreach( $setprops AS $k => $setting ) {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'urn:ietf:params:xml:ns:caldav:calendar-free-busy-set':
|
||||||
|
$failure['set-'.$tag] = new XMLElement( 'propstat', array(
|
||||||
|
new XMLElement( 'prop', new XMLElement($tag)),
|
||||||
|
new XMLElement( 'status', 'HTTP/1.1 409 Conflict' ),
|
||||||
|
new XMLElement( 'responsedescription', translate("The calendar-free-busy-set is superseded by the schedule-transp property of a calendar collection.") )
|
||||||
|
));
|
||||||
|
break;
|
||||||
|
|
||||||
case 'urn:ietf:params:xml:ns:caldav:calendar-timezone':
|
case 'urn:ietf:params:xml:ns:caldav:calendar-timezone':
|
||||||
$tzcomponent = $setting->GetPath('urn:ietf:params:xml:ns:caldav:calendar-timezone');
|
$tzcomponent = $setting->GetPath('urn:ietf:params:xml:ns:caldav:calendar-timezone');
|
||||||
$tzstring = $tzcomponent[0]->GetContent();
|
$tzstring = $tzcomponent[0]->GetContent();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user