summaryrefslogtreecommitdiffstats
path: root/editgroups.cgi
diff options
context:
space:
mode:
authormkanat%kerio.com <>2006-03-02 06:33:01 +0100
committermkanat%kerio.com <>2006-03-02 06:33:01 +0100
commit9fcdc67a551a089ebd926a560580e77c58c8ae21 (patch)
tree182d6cdc1d1c5c50ee13baed0fd7b333d7ce6316 /editgroups.cgi
parent877a6c19c0974eb7e51856b7a2314dbee6079893 (diff)
downloadbugzilla-9fcdc67a551a089ebd926a560580e77c58c8ae21.tar.gz
bugzilla-9fcdc67a551a089ebd926a560580e77c58c8ae21.tar.xz
Bug 328435: Move GroupNameToId into Bugzilla/Group.pm and eliminate GroupExists
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=wicked, 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 c366c6d79..026d85b93 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 = GroupNameToId('admin');
+ my $admin = group_name_to_id('admin');
# Since we created a new group, give the "admin" group all privileges
# initially.
my $sth = $dbh->prepare('INSERT INTO group_group_map