From 6b44875b901ac8d1d7383fed017c973a9f954051 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sat, 3 Sep 2005 04:12:07 +0000 Subject: Bug 286158: Remove GetSelectableProducts() from globals.pl and use Bugzilla::User::get_selectable_products() instead - Patch by Frédéric Buclin r=joel,kiko a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.cgi | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'config.cgi') 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. -- cgit v1.2.3-65-gdbad