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 --- Bugzilla/Series.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Series.pm') diff --git a/Bugzilla/Series.pm b/Bugzilla/Series.pm index 011e60168..877f69866 100644 --- a/Bugzilla/Series.pm +++ b/Bugzilla/Series.pm @@ -164,7 +164,7 @@ sub initFromCGI { # Change 'admin' here and in series.html.tmpl, or remove the check # completely, if you want to change who can make series public. - $self->{'public'} = 0 unless UserInGroup('admin'); + $self->{'public'} = 0 unless Bugzilla->user->in_group('admin'); } sub writeToDatabase { -- cgit v1.2.3-24-g4f1b