From edba919994580ea919f937d8c558c25b195c222a Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 2 Oct 2012 12:57:31 +0000 Subject: [PATCH] * CalDAV: deleting an already declined invitation returned 403 Forbidden, instead 204 No Content --- calendar/inc/class.calendar_groupdav.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_groupdav.inc.php b/calendar/inc/class.calendar_groupdav.inc.php index 40d69583f4..4922ddad77 100644 --- a/calendar/inc/class.calendar_groupdav.inc.php +++ b/calendar/inc/class.calendar_groupdav.inc.php @@ -1177,7 +1177,8 @@ class calendar_groupdav extends groupdav_handler { 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; } }