From 7d677ece7d55266f63924bc64cf2190df7c785a0 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Mon, 4 Sep 2006 23:21:47 +0000 Subject: Bug 283582: Remove UserInGroup in favor of Bugzilla->user->in_group Patch By victory(_RSZ_) r=mkanat, a=myk --- editwhines.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editwhines.cgi') diff --git a/editwhines.cgi b/editwhines.cgi index 0aed19b7a..800c5385a 100755 --- a/editwhines.cgi +++ b/editwhines.cgi @@ -80,7 +80,7 @@ $user->in_group('bz_canusewhines') object => "reports"}); # May this user send mail to other users? -my $can_mail_others = UserInGroup('bz_canusewhineatothers'); +my $can_mail_others = Bugzilla->user->in_group('bz_canusewhineatothers'); # If the form was submitted, we need to look for what needs to be added or # removed, then what was altered. -- cgit v1.2.3-24-g4f1b