summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Bug.pm
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-05-17 00:21:29 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-05-17 00:21:29 +0200
commit003e49ae68c247448a5d9d18cb0110432668fdfd (patch)
treec735981eac17952cb445dc053c6fd3270eeb95a7 /Bugzilla/Bug.pm
parent566655693317f329ec9d412a5c7bc058276858ba (diff)
downloadbugzilla-003e49ae68c247448a5d9d18cb0110432668fdfd.tar.gz
bugzilla-003e49ae68c247448a5d9d18cb0110432668fdfd.tar.xz
Bug 428452: Move code to set/modify keywords from process_bug.cgi into
Bugzilla::Bug::set_all r=dkl, a=mkanat
Diffstat (limited to 'Bugzilla/Bug.pm')
-rw-r--r--Bugzilla/Bug.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index 840ff91d6..ee53a0aae 100644
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -1854,6 +1854,11 @@ sub set_all {
my $self = shift;
my ($params) = @_;
+ if (exists $params->{'keywords'}) {
+ $self->modify_keywords($params->{'keywords'},
+ $params->{'keywords_action'});
+ }
+
if (exists $params->{'comment'} or exists $params->{'work_time'}) {
# Add a comment as needed to each bug. This is done early because
# there are lots of things that want to check if we added a comment.
@@ -2350,7 +2355,6 @@ sub modify_keywords {
}
$self->{'keyword_objects'} = \@result;
- return $any_changes;
}
sub add_group {