From c6f80310afc00cf7d5114e638cbaaefde3914da0 Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Fri, 8 Oct 1999 06:54:47 +0000 Subject: Added the ability for users to "vote" on which bugs they think should be fixed. --- process_bug.cgi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'process_bug.cgi') diff --git a/process_bug.cgi b/process_bug.cgi index aa168bd55..2bd10e890 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -303,7 +303,7 @@ sub LogDependencyActivity { foreach my $id (@idlist) { my %dependencychanged; - SendSQL("lock tables bugs write, bugs_activity write, cc write, profiles write, dependencies write"); + SendSQL("lock tables bugs write, bugs_activity write, cc write, profiles write, dependencies write, votes write"); my @oldvalues = SnapShotBug($id); if (defined $::FORM{'delta_ts'} && $::FORM{'delta_ts'} ne $delta_ts) { @@ -490,6 +490,10 @@ The changes made were: $old = DBID_to_name($old) if $old != 0; $new = DBID_to_name($new) if $new != 0; } + if ($col eq 'product') { + RemoveVotes($id, + "This bug has been moved to a different product"); + } $col = SqlQuote($col); $old = SqlQuote($old); $new = SqlQuote($new); -- cgit v1.2.3-24-g4f1b