summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
authorgerv%gerv.net <>2005-03-30 07:42:53 +0200
committergerv%gerv.net <>2005-03-30 07:42:53 +0200
commit882dcc873146d665f2d1257b89e588ae6e6356f0 (patch)
treeceb5ac9f6378961fbc009216e09447e45b8886e0 /post_bug.cgi
parent13e55e5e4b0338848274ebdf258c8e60d826e7fe (diff)
downloadbugzilla-882dcc873146d665f2d1257b89e588ae6e6356f0.tar.gz
bugzilla-882dcc873146d665f2d1257b89e588ae6e6356f0.tar.xz
Bug 73665 - migrate email preferences to their own table, and rearchitect email internals. Patch by gerv; r=jake, a=justdave.
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi9
1 files changed, 1 insertions, 8 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index 22eca5b9d..7f05dc7bc 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -486,14 +486,7 @@ if (UserInGroup("editbugs")) {
}
# Email everyone the details of the new bug
-$vars->{'mailrecipients'} = { 'cc' => \@cc,
- 'owner' => DBID_to_name($::FORM{'assigned_to'}),
- 'reporter' => Bugzilla->user->login,
- 'changer' => Bugzilla->user->login };
-
-if (defined $::FORM{'qa_contact'}) {
- $vars->{'mailrecipients'}->{'qacontact'} = DBID_to_name($::FORM{'qa_contact'});
-}
+$vars->{'mailrecipients'} = {'changer' => Bugzilla->user->login};
$vars->{'id'} = $id;
my $bug = new Bugzilla::Bug($id, $::userid);