Commit 092135aa authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 358947: Remove dead code from post_bug.cgi about custom_tables - Patch by…

Bug 358947: Remove dead code from post_bug.cgi about custom_tables - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
parent 9ecc8584
...@@ -128,10 +128,6 @@ my @custom_bug_fields = grep {$_->type != FIELD_TYPE_MULTI_SELECT} ...@@ -128,10 +128,6 @@ my @custom_bug_fields = grep {$_->type != FIELD_TYPE_MULTI_SELECT}
my @bug_fields = grep { defined $cgi->param($_->name) } @custom_bug_fields; my @bug_fields = grep { defined $cgi->param($_->name) } @custom_bug_fields;
@bug_fields = map { $_->name } @bug_fields; @bug_fields = map { $_->name } @bug_fields;
# Custom tables must be locked (required when validating custom fields).
my @custom_tables = grep { $_->type == FIELD_TYPE_SINGLE_SELECT } @custom_bug_fields;
@custom_tables = map { $_->name . ' READ' } @custom_tables;
push(@bug_fields, qw( push(@bug_fields, qw(
product product
component component
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment