summaryrefslogtreecommitdiffstats
path: root/editflagtypes.cgi
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-08-08 08:05:00 +0200
committermkanat%bugzilla.org <>2006-08-08 08:05:00 +0200
commitd12c283343406c9a5c4b5e76c1f77dce354efc38 (patch)
treee3f600bd8ccca8375c28f2ca3c8701dc71fd6b5e /editflagtypes.cgi
parent5c377e30d41de59b2c00beaea45710445e70f2c9 (diff)
downloadbugzilla-d12c283343406c9a5c4b5e76c1f77dce354efc38.tar.gz
bugzilla-d12c283343406c9a5c4b5e76c1f77dce354efc38.tar.xz
Bug 339383: Make Bugzilla::Group use Bugzilla::Object
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=bkor, a=myk
Diffstat (limited to 'editflagtypes.cgi')
-rwxr-xr-xeditflagtypes.cgi4
1 files changed, 2 insertions, 2 deletions
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');