Commit 55de41cf authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 399075: Remove the 'commentonclearresolution' parameter - Patch by…

Bug 399075: Remove the 'commentonclearresolution' parameter - Patch by Fré©ric Buclin <LpSolit@gmail.com> r/a=mkanat
parent 38f2c426
...@@ -2049,11 +2049,6 @@ sub clear_resolution { ...@@ -2049,11 +2049,6 @@ sub clear_resolution {
if (!$self->status->is_open) { if (!$self->status->is_open) {
ThrowUserError('resolution_cant_clear', { bug_id => $self->id }); ThrowUserError('resolution_cant_clear', { bug_id => $self->id });
} }
if (Bugzilla->params->{'commentonclearresolution'}
&& $self->resolution && !$self->{added_comments})
{
ThrowUserError('comment_required');
}
$self->{'resolution'} = ''; $self->{'resolution'} = '';
$self->_clear_dup_id; $self->_clear_dup_id;
} }
......
...@@ -81,12 +81,6 @@ sub get_param_list { ...@@ -81,12 +81,6 @@ sub get_param_list {
}, },
{ {
name => 'commentonclearresolution',
type => 'b',
default => 0
},
{
name => 'commentonchange_resolution', name => 'commentonchange_resolution',
type => 'b', type => 'b',
default => 0 default => 0
......
...@@ -40,9 +40,6 @@ ...@@ -40,9 +40,6 @@
musthavemilestoneonaccept => "If you are using Target Milestone, do you want to require that " _ musthavemilestoneonaccept => "If you are using Target Milestone, do you want to require that " _
"the milestone be set in order for a user to ACCEPT a ${terms.bug}?", "the milestone be set in order for a user to ACCEPT a ${terms.bug}?",
commentonclearresolution => "If this option is on, the user needs to enter a short comment if " _
"the ${terms.bug}'s resolution is cleared.",
commentonchange_resolution => "If this option is on, the user needs to enter a short " _ commentonchange_resolution => "If this option is on, the user needs to enter a short " _
"comment if the resolution of the $terms.bug changes.", "comment if the resolution of the $terms.bug changes.",
......
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