aboutsummaryrefslogtreecommitdiffstats
path: root/config.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-09-03 04:12:07 +0000
committerlpsolit%gmail.com <>2005-09-03 04:12:07 +0000
commit6b44875b901ac8d1d7383fed017c973a9f954051 (patch)
tree0b43db0b62321cc03c91caad4810d4660c2fd56c /config.cgi
parent3c36f0414886baad1a59db8d0dbd0efd3fec2254 (diff)
downloadbugs-6b44875b901ac8d1d7383fed017c973a9f954051.tar
bugs-6b44875b901ac8d1d7383fed017c973a9f954051.tar.gz
bugs-6b44875b901ac8d1d7383fed017c973a9f954051.tar.bz2
bugs-6b44875b901ac8d1d7383fed017c973a9f954051.tar.xz
bugs-6b44875b901ac8d1d7383fed017c973a9f954051.zip
Bug 286158: Remove GetSelectableProducts() from globals.pl and use Bugzilla::User::get_selectable_products() instead - Patch by Frédéric Buclin <LpSolit@gmail.com> r=joel,kiko a=justdave
Diffstat (limited to 'config.cgi')
-rwxr-xr-xconfig.cgi7
1 files changed, 2 insertions, 5 deletions
diff --git a/config.cgi b/config.cgi
index e3ecef3ff..a21fc7843 100755
--- a/config.cgi
+++ b/config.cgi
@@ -64,11 +64,8 @@ $vars->{'keyword'} = \@::legal_keywords;
$vars->{'resolution'} = \@::legal_resolution;
$vars->{'status'} = \@::legal_bug_status;
-# Include lists of products, components, versions, and target milestones.
-my $selectables = GetSelectableProductHash();
-foreach my $selectable (keys %$selectables) {
- $vars->{$selectable} = $selectables->{$selectable};
-}
+# Include a list of product objects.
+$vars->{'products'} = Bugzilla->user->get_selectable_products;
# Create separate lists of open versus resolved statuses. This should really
# be made part of the configuration.