From 15528ad8472cc0244cb2c7d9b6109c0b9d132f20 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 10 Dec 2008 18:39:58 +0000 Subject: Bug 399076: Remove the 'commentonreassignbycomponent' parameter - Patch by Frédéric Buclin r/a=mkanat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/Bug.pm | 10 ---------- Bugzilla/Config/BugChange.pm | 6 ------ 2 files changed, 16 deletions(-) (limited to 'Bugzilla') diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index e9e73920a..6399e34a4 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -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); } diff --git a/Bugzilla/Config/BugChange.pm b/Bugzilla/Config/BugChange.pm index 00a234a30..0e518b689 100644 --- a/Bugzilla/Config/BugChange.pm +++ b/Bugzilla/Config/BugChange.pm @@ -86,12 +86,6 @@ sub get_param_list { default => 0 }, - { - name => 'commentonreassignbycomponent', - type => 'b', - default => 0 - }, - { name => 'commentonduplicate', type => 'b', -- cgit v1.2.3-24-g4f1b