]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 399076: Remove the 'commentonreassignbycomponent' parameter - Patch by FrédÃ...
authorlpsolit%gmail.com <>
Wed, 10 Dec 2008 18:39:58 +0000 (18:39 +0000)
committerlpsolit%gmail.com <>
Wed, 10 Dec 2008 18:39:58 +0000 (18:39 +0000)
Bugzilla/Bug.pm
Bugzilla/Config/BugChange.pm
template/en/default/admin/params/bugchange.html.tmpl

index e9e73920a11620054fced70792afaa8b6385cdc7..6399e34a43002f5edee61d4c9edeaeab3c0b415f 100644 (file)
@@ -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);
 }
index 00a234a309d6799108bf56971914e04c4127195e..0e518b68993222694bc8a277c87513ea7399ae41 100644 (file)
@@ -86,12 +86,6 @@ sub get_param_list {
    default => 0
   },
 
-  {
-   name => 'commentonreassignbycomponent',
-   type => 'b',
-   default => 0
-  },
-
   {
    name => 'commentonduplicate',
    type => 'b',
index b00fea05e1ee8b928252264cca47751e79f1a86d..9f456ee6f55ad712728ef00fabaa68a2e12f751a 100644 (file)
@@ -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.",