Fix CalDAV delete event issue

This commit is contained in:
Jörg Lehrke 2010-06-28 17:35:18 +00:00
parent caf9e840f4
commit 045e2b5180

View File

@ -591,8 +591,11 @@ error_log(__METHOD__."($path,,".array2string($start).") filter=".array2string($f
*/ */
function post(&$options,$id,$user=null) function post(&$options,$id,$user=null)
{ {
$status = $this->put($options,$id,$user); if (preg_match('/^METHOD:PUBLISH(\r\n|\r|\n)/im', $options['content']))
// error_log("CalDAV POST: $status" . print_r($options, true)); {
$status = $this->put($options,$id,$user);
// error_log("CalDAV POST: $status" . print_r($options, true));
}
return true; return true;
} }