mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-02-08 02:33:35 +00:00
Logging.
This commit is contained in:
parent
b50f409669
commit
a9a3709106
@ -473,7 +473,10 @@ EOSQL;
|
||||
* @param string $lock_token The opaquelocktoken which we are looking for
|
||||
*/
|
||||
function ValidateLockToken( $lock_token ) {
|
||||
if ( isset($this->lock_token) && $this->lock_token == $lock_token ) return true;
|
||||
if ( isset($this->lock_token) && $this->lock_token == $lock_token ) {
|
||||
dbg_error_log( "caldav", "They supplied a valid lock token. Great!" );
|
||||
return true;
|
||||
}
|
||||
if ( isset($this->if_clause) ) {
|
||||
dbg_error_log( "caldav", "Checking lock token '%s' against '%s'", $lock_token, $this->if_clause );
|
||||
$tokens = preg_split( '/[<>]/', $this->if_clause );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user