aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-09-04 23:21:47 +0000
committermkanat%bugzilla.org <>2006-09-04 23:21:47 +0000
commit7d677ece7d55266f63924bc64cf2190df7c785a0 (patch)
tree7b666d17b8e5de6a8d1cd86c8a33030073acb9ef /show_bug.cgi
parentBug 349741: Make Bugzilla::Bug able to do basic bug creation, and have post_b... (diff)
downloadbugzilla-7d677ece7d55266f63924bc64cf2190df7c785a0.tar.gz
bugzilla-7d677ece7d55266f63924bc64cf2190df7c785a0.tar.bz2
bugzilla-7d677ece7d55266f63924bc64cf2190df7c785a0.zip
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 'show_bug.cgi')
-rwxr-xr-xshow_bug.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/show_bug.cgi b/show_bug.cgi
index fda4d1503..06a7b6425 100755
--- a/show_bug.cgi
+++ b/show_bug.cgi
@@ -119,7 +119,7 @@ if ($cgi->param("field")) {
@fieldlist = $cgi->param("field");
}
-unless (UserInGroup(Bugzilla->params->{"timetrackinggroup"})) {
+unless (Bugzilla->user->in_group(Bugzilla->params->{"timetrackinggroup"})) {
@fieldlist = grep($_ !~ /_time$/, @fieldlist);
}