From f9e320695616f29fb1f11b7a5f3f9cee2040d7ee Mon Sep 17 00:00:00 2001 From: "bryce-mozilla%nextbus.com" <> Date: Wed, 12 May 1999 12:22:34 +0000 Subject: "nospam" feature. BugZilla will no longer email the person submitting the change (after all, they are right there viewing things interactively). To make this clear to everyone, print out the exact email list as each bug is processed. --- process_bug.cgi | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'process_bug.cgi') diff --git a/process_bug.cgi b/process_bug.cgi index fc425a199..c671a90c2 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -226,13 +226,17 @@ SWITCH: for ($::FORM{'knob'}) { exit; } if ($::FORM{'dup_id'} == $::FORM{'id'}) { - print "Nice try. But it doesn't really make sense to mark a\n"; + print "Nice try, $::FORM{'who'}. But it doesn't really make sense to mark a\n"; print "bug as a duplicate of itself, does it?\n"; exit; } AppendComment($::FORM{'dup_id'}, $::FORM{'who'}, "*** Bug $::FORM{'id'} has been marked as a duplicate of this bug. ***"); $::FORM{'comment'} .= "\n\n*** This bug has been marked as a duplicate of $::FORM{'dup_id'} ***"; - system("./processmail $::FORM{'dup_id'} < /dev/null > /dev/null 2> /dev/null &"); + + print "

Notation added to bug $::FORM{'dup_id'}

\n"; + system("./processmail $::FORM{'dup_id'} $::FORM{'who'}"); + print "
Go To BUG# $::FORM{'dup_id'}
\n"; + last SWITCH; }; # default @@ -327,20 +331,19 @@ foreach my $id (@idlist) { } } - print "

Changes Submitted

\n"; - print "
Back To BUG# $id
\n"; - + print "

Changes to bug $id submitted

\n"; SendSQL("unlock tables"); - - system("./processmail $id < /dev/null > /dev/null 2> /dev/null &"); + system("./processmail $id $::FORM{'who'}"); + print "
Back To BUG# $id
\n"; } if (defined $::next_bug) { + print("

The next bug in your list is:\n"); $::FORM{'id'} = $::next_bug; print "


\n"; navigation_header(); do "bug_form.pl"; } else { - print "
Back To Query Page\n"; + navigation_header(); } -- cgit v1.2.3-24-g4f1b