diff options
author | lpsolit%gmail.com <> | 2008-12-10 19:39:58 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2008-12-10 19:39:58 +0100 |
commit | 15528ad8472cc0244cb2c7d9b6109c0b9d132f20 (patch) | |
tree | 4c27da0bcb6fe7423f84a1d99c013dcbe24bc608 | |
parent | 55de41cf4acb5fcc3a981f8b3c2777323a8f5359 (diff) | |
download | bugzilla-15528ad8472cc0244cb2c7d9b6109c0b9d132f20.tar.gz bugzilla-15528ad8472cc0244cb2c7d9b6109c0b9d132f20.tar.xz |
Bug 399076: Remove the 'commentonreassignbycomponent' parameter - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
-rw-r--r-- | Bugzilla/Bug.pm | 10 | ||||
-rw-r--r-- | Bugzilla/Config/BugChange.pm | 6 | ||||
-rw-r--r-- | template/en/default/admin/params/bugchange.html.tmpl | 3 |
3 files changed, 0 insertions, 19 deletions
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 @@ -87,12 +87,6 @@ sub get_param_list { }, { - name => 'commentonreassignbycomponent', - type => 'b', - default => 0 - }, - - { name => 'commentonduplicate', type => 'b', default => 0 diff --git a/template/en/default/admin/params/bugchange.html.tmpl b/template/en/default/admin/params/bugchange.html.tmpl index b00fea05e..9f456ee6f 100644 --- a/template/en/default/admin/params/bugchange.html.tmpl +++ b/template/en/default/admin/params/bugchange.html.tmpl @@ -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.", |