From: lpsolit%gmail.com <> Date: Sat, 6 Oct 2007 05:05:32 +0000 (+0000) Subject: Bug 358947: Remove dead code from post_bug.cgi about custom_tables - Patch by FrÃ... X-Git-Tag: bugzilla-3.0.3~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e97af0184d77cbb4e63e808046dc4d42b0dea065;p=thirdparty%2Fbugzilla.git Bug 358947: Remove dead code from post_bug.cgi about custom_tables - Patch by Frédéric Buclin r=mkanat a=LpSolit --- diff --git a/post_bug.cgi b/post_bug.cgi index f755934ae1..82317483b2 100755 --- a/post_bug.cgi +++ b/post_bug.cgi @@ -128,10 +128,6 @@ my @custom_bug_fields = Bugzilla->get_fields( my @bug_fields = grep { defined $cgi->param($_->name) } @custom_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( product component