summaryrefslogtreecommitdiffstats
path: root/editgroups.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-01-25 19:49:30 +0100
committerlpsolit%gmail.com <>2009-01-25 19:49:30 +0100
commitca06c57995ed327879e4c23b58e1330d4bd27d18 (patch)
tree55551daf4341fed6cac00eda8c68ae7932786f5c /editgroups.cgi
parentd3f1b1a3ecc5f068179d5fba70e86b345c1aec63 (diff)
downloadbugzilla-ca06c57995ed327879e4c23b58e1330d4bd27d18.tar.gz
bugzilla-ca06c57995ed327879e4c23b58e1330d4bd27d18.tar.xz
Bug 405355: Move flatten_group_membership() from User.pm to Group.pm - Patch by arbingersys <arbingersys@gmail.com> r/a=LpSolit
Diffstat (limited to 'editgroups.cgi')
-rwxr-xr-xeditgroups.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/editgroups.cgi b/editgroups.cgi
index 7dd8a7b63..475b805cc 100755
--- a/editgroups.cgi
+++ b/editgroups.cgi
@@ -262,7 +262,7 @@ if ($action eq 'del') {
}
# Group inheritance no longer appears in user_group_map.
- my $grouplist = join(',', @{Bugzilla::User->flatten_group_membership($gid)});
+ my $grouplist = join(',', @{Bugzilla::Group->flatten_group_membership($gid)});
my $hasusers =
$dbh->selectrow_array("SELECT 1 FROM user_group_map
WHERE group_id IN ($grouplist) AND isbless = 0 " .
@@ -337,7 +337,7 @@ if ($action eq 'delete') {
my $cantdelete = 0;
# Group inheritance no longer appears in user_group_map.
- my $grouplist = join(',', @{Bugzilla::User->flatten_group_membership($gid)});
+ my $grouplist = join(',', @{Bugzilla::Group->flatten_group_membership($gid)});
my $hasusers =
$dbh->selectrow_array("SELECT 1 FROM user_group_map
WHERE group_id IN ($grouplist) AND isbless = 0 " .