Commit 15528ad8 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 399076: Remove the 'commentonreassignbycomponent' parameter - Patch by…

Bug 399076: Remove the 'commentonreassignbycomponent' parameter - Patch by Fré©ric Buclin <LpSolit@gmail.com> r/a=mkanat
parent 55de41cf
......@@ -1752,11 +1752,6 @@ sub set_assigned_to {
}
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);
}
......@@ -1997,11 +1992,6 @@ sub set_qa_contact {
}
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);
}
......
......@@ -87,12 +87,6 @@ sub get_param_list {
},
{
name => 'commentonreassignbycomponent',
type => 'b',
default => 0
},
{
name => 'commentonduplicate',
type => 'b',
default => 0
......
......@@ -43,9 +43,6 @@
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.",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment