mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-27 15:31:32 +00:00
Correct supported-report-set output.
This commit is contained in:
parent
f8ef040ff2
commit
dcb56e1696
@ -91,7 +91,7 @@ class CalDAVRequest
|
||||
/**
|
||||
* Create a new CalDAVRequest object.
|
||||
*/
|
||||
function CalDAVRequest( $options = array() ) {
|
||||
function __construct( $options = array() ) {
|
||||
global $session, $c, $debugging;
|
||||
|
||||
$this->supported_privileges = array(
|
||||
@ -443,12 +443,10 @@ EOSQL;
|
||||
|
||||
$this->supported_reports = array(
|
||||
'DAV::principal-property-search' => '',
|
||||
'DAV::expand-property' => ''
|
||||
'DAV::expand-property' => '',
|
||||
'DAV::sync-collection' => ''
|
||||
);
|
||||
if ( $this->IsCollection() ) {
|
||||
$this->supported_reports['DAV::sync-collection'] = '';
|
||||
}
|
||||
if ( $this->IsCalendar() ) {
|
||||
if ( isset($this->collection) && $this->collection->is_calendar ) {
|
||||
$this->supported_reports = array_merge(
|
||||
$this->supported_reports,
|
||||
array(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user