From ded1fe885d963985b5a33be2e8b5b6102dae184c Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Thu, 18 Mar 2010 06:17:35 -0700 Subject: [PATCH] Bug 553255: Make config.cgi use Bugzilla::Product::preload, for a small performance improvement r=gerv, a=mkanat --- config.cgi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.cgi b/config.cgi index 282b959571..4fcf2b1f9a 100755 --- a/config.cgi +++ b/config.cgi @@ -34,6 +34,7 @@ use Bugzilla; use Bugzilla::Constants; use Bugzilla::Error; use Bugzilla::Keyword; +use Bugzilla::Product; use Bugzilla::Status; use Bugzilla::Field; @@ -77,6 +78,8 @@ if ($cgi->param('product')) { $vars->{'products'} = $user->get_selectable_products; } +Bugzilla::Product::preload($vars->{'products'}); + # Create separate lists of open versus resolved statuses. This should really # be made part of the configuration. my @open_status; -- 2.47.2