summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Search.pm
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 /Bugzilla/Search.pm
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 'Bugzilla/Search.pm')
-rw-r--r--Bugzilla/Search.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index de02115fe..2b3b23044 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -1067,7 +1067,7 @@ sub _contact_exact_group {
my $group = $1;
my $groupid = Bugzilla::Group::ValidateGroupName( $group, ($user));
$groupid || ThrowUserError('invalid_group_name',{name => $group});
- my @childgroups = @{$user->flatten_group_membership($groupid)};
+ my @childgroups = @{Bugzilla::Group->flatten_group_membership($groupid)};
my $table = "user_group_map_$$chartid";
push (@$supptables, "LEFT JOIN user_group_map AS $table " .
"ON $table.user_id = bugs.$$f " .
@@ -1139,7 +1139,7 @@ sub _cc_exact_group {
my $group = $1;
my $groupid = Bugzilla::Group::ValidateGroupName( $group, ($user));
$groupid || ThrowUserError('invalid_group_name',{name => $group});
- my @childgroups = @{$user->flatten_group_membership($groupid)};
+ my @childgroups = @{Bugzilla::Group->flatten_group_membership($groupid)};
my $chartseq = $$chartid;
if ($$chartid eq "") {
$chartseq = "CC$$sequence";