From 99ad6a4e8674133c5bb8367d291eb1986c3cee8a Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Thu, 3 Jun 2010 12:18:43 -0700 Subject: Bug 567846: Modify set_status, set_resolution, and set_dup_id to use VALIDATOR_DEPENDENCIES, so that they don't need custom code in set_all. --- process_bug.cgi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'process_bug.cgi') diff --git a/process_bug.cgi b/process_bug.cgi index e71c7ef4d..bb4a9f653 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -262,7 +262,6 @@ my %field_translation = ( set_default_qa_contact => 'reset_qa_contact', keywordaction => 'keywords_action', confirm_product_change => 'product_change_confirmed', - bug_status => 'status', ); my %set_all_fields = ( other_bugs => \@bug_objects ); @@ -409,7 +408,7 @@ if ($move_action eq Bugzilla->params->{'move-button-text'}) { my $new_status = Bugzilla->params->{'duplicate_or_move_bug_status'}; foreach my $bug (@bug_objects) { - $bug->set_status($new_status, {resolution => 'MOVED', moving => 1}); + $bug->set_bug_status($new_status, {resolution => 'MOVED', moving => 1}); } $_->update() foreach @bug_objects; $dbh->bz_commit_transaction(); -- cgit v1.2.3-24-g4f1b