mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-30 03:24:47 +00:00
Add an extra resourcetype to a binding to indicate it's a binding.
This is not in the spec, but makes things easier if you need to know whether this is a binding or not. You could also request a parent-set property and thus know this too, but we'll do this temporarily and decide if maybe it's a bad idea later.
This commit is contained in:
parent
118df346de
commit
e8c6aa2abf
@ -1224,6 +1224,9 @@ EOQRY;
|
||||
if ( $v == '' ) continue;
|
||||
$reply->NSElement( $resourcetypes, $v );
|
||||
}
|
||||
if ( $this->_is_binding ) {
|
||||
$reply->NSElement( $resourcetypes, 'http://xmlns.davical.org/davical:webdav-binding' );
|
||||
}
|
||||
break;
|
||||
|
||||
case 'DAV::getlastmodified':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user