* 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
This commit is contained in:
nathan 2023-06-06 11:59:43 -06:00
parent b8eefe95ba
commit 2baaaf9690

View File

@ -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);
}
}
}