diff options
Diffstat (limited to 'editgroups.cgi')
-rwxr-xr-x | editgroups.cgi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editgroups.cgi b/editgroups.cgi index f7362cb5f..abef251f4 100755 --- a/editgroups.cgi +++ b/editgroups.cgi @@ -424,6 +424,9 @@ if ($action eq 'delete') { SendSQL("DELETE FROM group_group_map WHERE grantor_id = $gid"); SendSQL("DELETE FROM bug_group_map WHERE group_id = $gid"); SendSQL("DELETE FROM group_control_map WHERE group_id = $gid"); + SendSQL("DELETE FROM whine_schedules WHERE " . + "mailto_type = " . MAILTO_GROUP . " " . + "AND mailto = $gid"); SendSQL("DELETE FROM groups WHERE id = $gid"); } |