mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-03-10 07:33:35 +00:00
Some of the principal properties are available anywhere.
This commit is contained in:
parent
e34807cc17
commit
00fb075f22
@ -366,13 +366,10 @@ function item_to_xml( $item ) {
|
||||
$prop->NewElement("getetag", '"'.$item->dav_etag.'"' );
|
||||
}
|
||||
|
||||
if ( isset($attribute_list['PRINCIPAL-URL'] ) ) {
|
||||
$prop->NewElement("principal-url", $request->principal->url );
|
||||
}
|
||||
|
||||
if ( isset($attribute_list['CALENDAR-HOME-SET'] ) ) {
|
||||
$prop->NewElement("C:calendar-home-set", $request->principal->calendar_home_set );
|
||||
}
|
||||
/**
|
||||
* Then look at any properties related to the principal
|
||||
*/
|
||||
add_principal_properties( $prop );
|
||||
|
||||
if ( isset($attribute_list['ACL']) ) {
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user