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

@ -590,9 +590,12 @@ error_log(__METHOD__."($path,,".array2string($start).") filter=".array2string($f
* @return mixed boolean true on success, false on failure or string with http status (eg. '404 Not Found')
*/
function post(&$options,$id,$user=null)
{
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;
}