}
sub reset_assigned_to {
my $self = shift;
- if (Bugzilla->params->{'commentonreassignbycomponent'}
- && !$self->{added_comments})
- {
- ThrowUserError('comment_required');
- }
my $comp = $self->component_obj;
$self->set_assigned_to($comp->default_assignee);
}
}
sub reset_qa_contact {
my $self = shift;
- if (Bugzilla->params->{'commentonreassignbycomponent'}
- && !$self->{added_comments})
- {
- ThrowUserError('comment_required');
- }
my $comp = $self->component_obj;
$self->set_qa_contact($comp->default_qa_contact);
}
commentonchange_resolution => "If this option is on, the user needs to enter a short " _
"comment if the resolution of the $terms.bug changes.",
- commentonreassignbycomponent => "If this option is on, the user needs to enter a short comment if " _
- "the $terms.bug is reassigned by component.",
-
commentonduplicate => "If this option is on, the user needs to enter a short comment " _
"if the $terms.bug is marked as duplicate.",