diff options
Diffstat (limited to 'Bugzilla/Bug.pm')
-rwxr-xr-x | Bugzilla/Bug.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 642a71d3f..c984c8a98 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -1266,7 +1266,7 @@ sub GetBugActivity { my $suppjoins = ""; my $suppwhere = ""; if (Bugzilla->params->{"insidergroup"} - && !UserInGroup(Bugzilla->params->{'insidergroup'})) + && !Bugzilla->user->in_group(Bugzilla->params->{'insidergroup'})) { $suppjoins = "LEFT JOIN attachments ON attachments.attach_id = bugs_activity.attach_id"; @@ -1313,7 +1313,7 @@ sub GetBugActivity { || $fieldname eq 'deadline') { $activity_visible = - UserInGroup(Bugzilla->params->{'timetrackinggroup'}) ? 1 : 0; + Bugzilla->user->in_group(Bugzilla->params->{'timetrackinggroup'}) ? 1 : 0; } else { $activity_visible = 1; } |