* CalDAV: handle deleted events, as not existing (404 Not Found)

This commit is contained in:
Ralf Becker 2011-06-19 08:54:06 +00:00
parent 17ce63390c
commit c4a01cd4fc

View File

@ -775,6 +775,9 @@ class calendar_groupdav extends groupdav_handler
{
$this->bo->clear_private_infos($event, array($this->bo->user, $event['owner']));
}
// handle deleted events, as not existing
if ($event['deleted']) $event = null;
if ($this->debug > 1) error_log(__METHOD__."($id) returning ".array2string($event));
return $event;