]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 577851: config.cgi crashes in 3.4.7, due to Bugzilla::Product::preload (backout...
authorFrédéric Buclin <LpSolit@gmail.com>
Tue, 13 Jul 2010 22:37:36 +0000 (00:37 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Tue, 13 Jul 2010 22:37:36 +0000 (00:37 +0200)
r/a=mkanat

config.cgi

index abf2678403f58f28d40e3edd16f14cdddd81ae99..b03ac1d8ebd7be03143a9eac42b7ecec136b136c 100755 (executable)
@@ -34,7 +34,6 @@ use Bugzilla;
 use Bugzilla::Constants;
 use Bugzilla::Error;
 use Bugzilla::Keyword;
-use Bugzilla::Product;
 use Bugzilla::Status;
 use Bugzilla::Field;
 
@@ -78,8 +77,6 @@ if ($cgi->param('product')) {
     $vars->{'products'} = $user->get_selectable_products;
 }
 
-Bugzilla::Product::preload($vars->{'products'});
-
 # Allow consumers to specify whether or not they want flag data.
 if (defined $cgi->param('flags')) {
     $vars->{'show_flags'} = $cgi->param('flags');