From d12c283343406c9a5c4b5e76c1f77dce354efc38 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Tue, 8 Aug 2006 06:05:00 +0000 Subject: Bug 339383: Make Bugzilla::Group use Bugzilla::Object Patch By Max Kanat-Alexander r=bkor, a=myk --- editflagtypes.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editflagtypes.cgi') diff --git a/editflagtypes.cgi b/editflagtypes.cgi index 622cfcb05..e7b0908b5 100755 --- a/editflagtypes.cgi +++ b/editflagtypes.cgi @@ -186,7 +186,7 @@ sub edit { 'inclusions' => \%inclusions }; } # Get a list of groups available to restrict this flag type against. - my @groups = Bugzilla::Group::get_all_groups(); + my @groups = Bugzilla::Group->get_all; $vars->{'groups'} = \@groups; # Return the appropriate HTTP response headers. print $cgi->header(); @@ -236,7 +236,7 @@ sub processCategoryChange { # Fill $vars with products and components data. $vars = get_products_and_components($vars); - my @groups = Bugzilla::Group::get_all_groups(); + my @groups = Bugzilla::Group->get_all; $vars->{'groups'} = \@groups; $vars->{'action'} = $cgi->param('action'); -- cgit v1.2.3-24-g4f1b