From a9a3709106f15b59a6774ff80fe024db9f38fd27 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Fri, 10 Apr 2009 23:44:37 +1200 Subject: [PATCH] Logging. --- inc/CalDAVRequest.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/inc/CalDAVRequest.php b/inc/CalDAVRequest.php index 27c005e6..a1936889 100644 --- a/inc/CalDAVRequest.php +++ b/inc/CalDAVRequest.php @@ -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 );