diff options
Diffstat (limited to 'summarize_time.cgi')
-rwxr-xr-x | summarize_time.cgi | 4 |
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"}); |