summaryrefslogtreecommitdiffstats
path: root/editgroups.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-03-15 07:47:23 +0100
committerlpsolit%gmail.com <>2006-03-15 07:47:23 +0100
commite0946fe716dffb0852494c09c436b099fe593697 (patch)
tree833a1dc6b5649ea7c9181a808cd69e4c9b2a9521 /editgroups.cgi
parent577a3b3540fa2331e41f51cc2a2201ce902df289 (diff)
downloadbugzilla-e0946fe716dffb0852494c09c436b099fe593697.tar.gz
bugzilla-e0946fe716dffb0852494c09c436b099fe593697.tar.xz
Bug 329022: Remove group_name_to_id in favor of creating Group objects - Patch by RĂ©mi Zara <remi_zara@mac.com> r=LpSolit a=justdave
Diffstat (limited to 'editgroups.cgi')
-rwxr-xr-xeditgroups.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/editgroups.cgi b/editgroups.cgi
index a2b33b3f9..d28d95f19 100755
--- a/editgroups.cgi
+++ b/editgroups.cgi
@@ -294,7 +294,7 @@ if ($action eq 'new') {
undef, ($name, $desc, $regexp, $isactive));
my $gid = $dbh->bz_last_key('groups', 'id');
- my $admin = group_name_to_id('admin');
+ my $admin = Bugzilla::Group->new({name => 'admin'})->id();
# Since we created a new group, give the "admin" group all privileges
# initially.
my $sth = $dbh->prepare('INSERT INTO group_group_map