From 2d7e267c4bc048f380290951f1ac1072b138fc45 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 6 Jun 2023 11:59:43 -0600 Subject: [PATCH] Calendar: Deleting an event sometimes left other user's alarms Do not need to pay attention to the ACL of the alarm when the whole event is deleted --- calendar/inc/class.calendar_boupdate.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_boupdate.inc.php b/calendar/inc/class.calendar_boupdate.inc.php index ff6409d3b3..0c943ab724 100644 --- a/calendar/inc/class.calendar_boupdate.inc.php +++ b/calendar/inc/class.calendar_boupdate.inc.php @@ -1951,7 +1951,7 @@ class calendar_boupdate extends calendar_bo { foreach($event['alarm'] as $id => $alarm) { - $this->delete_alarm($id); + $this->delete_alarm($id, true); } } }