From 55de41cf4acb5fcc3a981f8b3c2777323a8f5359 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 10 Dec 2008 18:35:59 +0000 Subject: =?UTF-8?q?Bug=20399075:=20Remove=20the=20'commentonclearresolutio?= =?UTF-8?q?n'=20parameter=20-=20Patch=20by=20Fr=C3=83=C2=A9d=C3=83=C2=A9ri?= =?UTF-8?q?c=20Buclin=20=20r/a=3Dmkanat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/Bug.pm | 5 ----- 1 file changed, 5 deletions(-) (limited to 'Bugzilla/Bug.pm') 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; } -- cgit v1.2.1