mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-19 14:10:14 +00:00
Fix if_addressbook for /
This commit is contained in:
parent
ad4d733e57
commit
8f22d87a82
@ -407,6 +407,7 @@ EOSQL;
|
||||
'dav_name' => '/',
|
||||
'dav_etag' => md5($c->system_name),
|
||||
'is_calendar' => 'f',
|
||||
'is_addressbook' => 'f',
|
||||
'is_principal' => 'f',
|
||||
'user_no' => 0,
|
||||
'dav_displayname' => $c->system_name,
|
||||
@ -493,6 +494,15 @@ EOSQL;
|
||||
)
|
||||
);
|
||||
}
|
||||
if ( isset($this->collection) && $this->collection->is_addressbook ) {
|
||||
$this->supported_reports = array_merge(
|
||||
$this->supported_reports,
|
||||
array(
|
||||
// 'urn:ietf:params:xml:ns:carddav:addressbook-query' => '',
|
||||
'urn:ietf:params:xml:ns:carddav:addressbook-multiget' => ''
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user