diff --git a/inc/caldav-LOCK.php b/inc/caldav-LOCK.php index f2984ce2..85bc2087 100644 --- a/inc/caldav-LOCK.php +++ b/inc/caldav-LOCK.php @@ -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));