diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2010-10-20 02:27:59 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2010-10-20 02:27:59 +0200 |
commit | fb85e2ee8fc510a607f60525f8c3b3978a9789df (patch) | |
tree | a8a0458b6537087ff15a40924788e5200089e257 /config.cgi | |
parent | 956e50863d553ed397f15c4c640d07aecf4c8cc5 (diff) | |
download | bugzilla-fb85e2ee8fc510a607f60525f8c3b3978a9789df.tar.gz bugzilla-fb85e2ee8fc510a607f60525f8c3b3978a9789df.tar.xz |
Bug 553266: config.cgi?ctype=rdf spends most of its time loading flagtypes from the database
a=LpSolit (module owner)
Diffstat (limited to 'config.cgi')
-rwxr-xr-x | config.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config.cgi b/config.cgi index d52c6b6c1..2c82fdc59 100755 --- a/config.cgi +++ b/config.cgi @@ -81,7 +81,8 @@ if ($cgi->param('product')) { $vars->{'products'} = $user->get_selectable_products; } -Bugzilla::Product::preload($vars->{'products'}); +# We set the 2nd argument to 1 to also preload flag types. +Bugzilla::Product::preload($vars->{'products'}, 1); # Allow consumers to specify whether or not they want flag data. if (defined $cgi->param('flags')) { |