diff options
| author | terry%mozilla.org <> | 1999-10-08 06:54:47 +0000 |
|---|---|---|
| committer | terry%mozilla.org <> | 1999-10-08 06:54:47 +0000 |
| commit | c6f80310afc00cf7d5114e638cbaaefde3914da0 (patch) | |
| tree | 6bdaf2497180648d821f3a91e320b6c80b29de23 /process_bug.cgi | |
| parent | 12d85f8fa42b7130608531ea61b287e9fa822125 (diff) | |
| download | bugs-c6f80310afc00cf7d5114e638cbaaefde3914da0.tar bugs-c6f80310afc00cf7d5114e638cbaaefde3914da0.tar.gz bugs-c6f80310afc00cf7d5114e638cbaaefde3914da0.tar.bz2 bugs-c6f80310afc00cf7d5114e638cbaaefde3914da0.tar.xz bugs-c6f80310afc00cf7d5114e638cbaaefde3914da0.zip | |
Added the ability for users to "vote" on which bugs they think should
be fixed.
Diffstat (limited to 'process_bug.cgi')
| -rwxr-xr-x | process_bug.cgi | 6 |
1 files changed, 5 insertions, 1 deletions
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); |
