summaryrefslogtreecommitdiffstats
path: root/summarize_time.cgi
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 /summarize_time.cgi
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 'summarize_time.cgi')
-rwxr-xr-xsummarize_time.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/summarize_time.cgi b/summarize_time.cgi
index 7693c988a..26cc04725 100755
--- a/summarize_time.cgi
+++ b/summarize_time.cgi
@@ -28,7 +28,7 @@ use Bugzilla::Constants; # LOGIN_*
use Bugzilla::Bug; # EmitDependList
use Bugzilla::Util; # trim
use Bugzilla::Error;
-use Bugzilla::User; # UserInGroup
+use Bugzilla::User; # Bugzilla->user->in_group
my $template = Bugzilla->template;
my $vars = {};
@@ -404,7 +404,7 @@ my $cgi = Bugzilla->cgi;
Bugzilla->switch_to_shadow_db();
-UserInGroup(Bugzilla->params->{"timetrackinggroup"})
+Bugzilla->user->in_group(Bugzilla->params->{"timetrackinggroup"})
|| ThrowUserError("auth_failure", {group => "time-tracking",
action => "access",
object => "timetracking_summaries"});