]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 358947: Remove dead code from post_bug.cgi about custom_tables - Patch by FrÃ...
authorlpsolit%gmail.com <>
Sat, 6 Oct 2007 05:05:32 +0000 (05:05 +0000)
committerlpsolit%gmail.com <>
Sat, 6 Oct 2007 05:05:32 +0000 (05:05 +0000)
post_bug.cgi

index f755934ae1dd42f2b5c97a9a8716c12e1aaa646a..82317483b215d0193d456d5c1fd6e5e298b13ff7 100755 (executable)
@@ -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