* CalDAV: deleting an already declined invitation returned 403 Forbidden, instead 204 No Content

This commit is contained in:
Ralf Becker 2012-10-02 12:59:33 +00:00
parent c332be5de0
commit 6d13968340

View File

@ -1094,7 +1094,8 @@ class calendar_groupdav extends groupdav_handler
{ {
if ($this->bo->user == $uid || in_array($uid, $memberships)) if ($this->bo->user == $uid || in_array($uid, $memberships))
{ {
if ($this->bo->set_status($event,$this->bo->user, 'R')) $ret = true; $this->bo->set_status($event,$this->bo->user, 'R');
$ret = true;
break; break;
} }
} }