aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-01-25 18:49:30 +0000
committerlpsolit%gmail.com <>2009-01-25 18:49:30 +0000
commitca06c57995ed327879e4c23b58e1330d4bd27d18 (patch)
tree55551daf4341fed6cac00eda8c68ae7932786f5c /whine.pl
parentBug 471461: Incorrect text displayed about groups when a bug is in a product ... (diff)
downloadbugzilla-ca06c57995ed327879e4c23b58e1330d4bd27d18.tar.gz
bugzilla-ca06c57995ed327879e4c23b58e1330d4bd27d18.tar.bz2
bugzilla-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 'whine.pl')
-rwxr-xr-xwhine.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/whine.pl b/whine.pl
index e49e4816a..3eb757dd4 100755
--- a/whine.pl
+++ b/whine.pl
@@ -34,6 +34,7 @@ use Bugzilla::Search;
use Bugzilla::User;
use Bugzilla::Mailer;
use Bugzilla::Util;
+use Bugzilla::Group;
# create some handles that we'll need
my $template = Bugzilla->template;
@@ -250,7 +251,7 @@ sub get_next_event {
$groupname, $owner);
if ($group_id) {
my $glist = join(',',
- @{Bugzilla::User->flatten_group_membership(
+ @{Bugzilla::Group->flatten_group_membership(
$group_id)});
$sth = $dbh->prepare("SELECT user_id FROM " .
"user_group_map " .