Added the ability for users to "vote" on which bugs they think should
be fixed. git-svn-id: svn://10.0.0.236/trunk@50171 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user