aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgerv%gerv.net <>2005-03-30 05:42:53 +0000
committergerv%gerv.net <>2005-03-30 05:42:53 +0000
commit882dcc873146d665f2d1257b89e588ae6e6356f0 (patch)
treeceb5ac9f6378961fbc009216e09447e45b8886e0 /post_bug.cgi
parentBug 272321: action should default to edit in editproducts.cgi if a product is... (diff)
downloadbugzilla-882dcc873146d665f2d1257b89e588ae6e6356f0.tar.gz
bugzilla-882dcc873146d665f2d1257b89e588ae6e6356f0.tar.bz2
bugzilla-882dcc873146d665f2d1257b89e588ae6e6356f0.zip
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);