diff options
author | lpsolit%gmail.com <> | 2008-12-10 19:35:59 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2008-12-10 19:35:59 +0100 |
commit | 55de41cf4acb5fcc3a981f8b3c2777323a8f5359 (patch) | |
tree | 035fee5b1bed7ab1488bfd6e7e9ec8362073d8b8 /Bugzilla | |
parent | 38f2c4266697633a1d24bbbcac279c6332ac17b3 (diff) | |
download | bugzilla-55de41cf4acb5fcc3a981f8b3c2777323a8f5359.tar.gz bugzilla-55de41cf4acb5fcc3a981f8b3c2777323a8f5359.tar.xz |
Bug 399075: Remove the 'commentonclearresolution' parameter - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Bug.pm | 5 | ||||
-rw-r--r-- | Bugzilla/Config/BugChange.pm | 6 |
2 files changed, 0 insertions, 11 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 25c2146ef..e9e73920a 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -2049,11 +2049,6 @@ sub clear_resolution { if (!$self->status->is_open) { ThrowUserError('resolution_cant_clear', { bug_id => $self->id }); } - if (Bugzilla->params->{'commentonclearresolution'} - && $self->resolution && !$self->{added_comments}) - { - ThrowUserError('comment_required'); - } $self->{'resolution'} = ''; $self->_clear_dup_id; } diff --git a/Bugzilla/Config/BugChange.pm b/Bugzilla/Config/BugChange.pm index aec6e2428..00a234a30 100644 --- a/Bugzilla/Config/BugChange.pm +++ b/Bugzilla/Config/BugChange.pm @@ -81,12 +81,6 @@ sub get_param_list { }, { - name => 'commentonclearresolution', - type => 'b', - default => 0 - }, - - { name => 'commentonchange_resolution', type => 'b', default => 0 |