mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-07-25 12:39:24 +00:00
For now we will only support exclusive / write locks.
This commit is contained in:
parent
424f8830ef
commit
d937c7988e
@ -48,7 +48,7 @@ foreach( $request->xml_tags AS $k => $v ) {
|
||||
}
|
||||
break;
|
||||
|
||||
case 'DAV::SHARED':
|
||||
/*case 'DAV::SHARED': */ /** Shared lock is not supported yet */
|
||||
case 'DAV::EXCLUSIVE':
|
||||
dbg_error_log( "LOCK", ":Request: %s -> %s", $v['type'], $tag );
|
||||
if ( $inside['DAV::LOCKSCOPE'] && $v['type'] == "complete" ) {
|
||||
@ -56,7 +56,8 @@ foreach( $request->xml_tags AS $k => $v ) {
|
||||
}
|
||||
break;
|
||||
|
||||
case 'DAV::READ':
|
||||
/* case 'DAV::READ': */ /** RFC2518 is pretty vague about read locks */
|
||||
case 'DAV::WRITE':
|
||||
dbg_error_log( "LOCK", ":Request: %s -> %s", $v['type'], $tag );
|
||||
if ( $inside['DAV::LOCKTYPE'] && $v['type'] == "complete" ) {
|
||||
$locktype = strtolower(substr($tag,5));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user