diff options
author | lpsolit%gmail.com <> | 2009-01-25 18:49:30 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-01-25 18:49:30 +0000 |
commit | ca06c57995ed327879e4c23b58e1330d4bd27d18 (patch) | |
tree | 55551daf4341fed6cac00eda8c68ae7932786f5c /editgroups.cgi | |
parent | d3f1b1a3ecc5f068179d5fba70e86b345c1aec63 (diff) | |
download | bugs-ca06c57995ed327879e4c23b58e1330d4bd27d18.tar bugs-ca06c57995ed327879e4c23b58e1330d4bd27d18.tar.gz bugs-ca06c57995ed327879e4c23b58e1330d4bd27d18.tar.bz2 bugs-ca06c57995ed327879e4c23b58e1330d4bd27d18.tar.xz bugs-ca06c57995ed327879e4c23b58e1330d4bd27d18.zip |
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-x | editgroups.cgi | 4 |
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 " . |