diff options
author | 2006-09-04 23:21:47 +0000 | |
---|---|---|
committer | 2006-09-04 23:21:47 +0000 | |
commit | 7d677ece7d55266f63924bc64cf2190df7c785a0 (patch) | |
tree | 7b666d17b8e5de6a8d1cd86c8a33030073acb9ef /summarize_time.cgi | |
parent | Bug 349741: Make Bugzilla::Bug able to do basic bug creation, and have post_b... (diff) | |
download | bugzilla-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 '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"}); |