Fix CalDAV delete event issue

This commit is contained in:
Jörg Lehrke 2010-06-28 17:34:57 +00:00
parent 4bd384f77d
commit 5cb14e716e

View File

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