summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Series.pm
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-09-05 01:21:47 +0200
committermkanat%bugzilla.org <>2006-09-05 01:21:47 +0200
commit7d677ece7d55266f63924bc64cf2190df7c785a0 (patch)
tree7b666d17b8e5de6a8d1cd86c8a33030073acb9ef /Bugzilla/Series.pm
parentb63fd277afedfb5d101ce4700058609e81199855 (diff)
downloadbugzilla-7d677ece7d55266f63924bc64cf2190df7c785a0.tar.gz
bugzilla-7d677ece7d55266f63924bc64cf2190df7c785a0.tar.xz
Bug 283582: Remove UserInGroup in favor of Bugzilla->user->in_group
Patch By victory(_RSZ_) <bmo2007@rsz.jp> r=mkanat, a=myk
Diffstat (limited to 'Bugzilla/Series.pm')
-rw-r--r--Bugzilla/Series.pm2
1 files changed, 1 insertions, 1 deletions
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 {