diff options
author | erik%dasbistro.com <> | 2005-02-19 07:41:09 +0100 |
---|---|---|
committer | erik%dasbistro.com <> | 2005-02-19 07:41:09 +0100 |
commit | cc73e8e4f6726abd0421c78445b18bd21b28169e (patch) | |
tree | 4cb7bf4e825e06346250e9b6aa8f5dbd76df5ae3 /editgroups.cgi | |
parent | 1ab7c9d7a1495c0f95e6e8ae12249a7ccb3c1465 (diff) | |
download | bugzilla-cc73e8e4f6726abd0421c78445b18bd21b28169e.tar.gz bugzilla-cc73e8e4f6726abd0421c78445b18bd21b28169e.tar.xz |
Bug 253721: Add group-based lists to whining
Patch by Erik Stambaugh <erik@dasbistro.com>
r=joel, r,a=justdave
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"); } |