summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Bug.pm
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-11-10 17:00:10 +0100
committerlpsolit%gmail.com <>2009-11-10 17:00:10 +0100
commitf7b1e5c5e27780f4bb1be7c9a44f1a91024473e4 (patch)
treea9f9024a5a0f841427a8a7235a4ee62eff819d29 /Bugzilla/Bug.pm
parent5d516a6ae2f021d2e276a842c24dff74d3448c45 (diff)
downloadbugzilla-f7b1e5c5e27780f4bb1be7c9a44f1a91024473e4.tar.gz
bugzilla-f7b1e5c5e27780f4bb1be7c9a44f1a91024473e4.tar.xz
Bug 505038: Use $user->is_insider instead of $user->in_group(Bugzilla->params->{'insidergroup'}) - Patch by XqueZme <xquezme@gmail.com> r/a=LpSolit
Diffstat (limited to 'Bugzilla/Bug.pm')
-rw-r--r--Bugzilla/Bug.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index 2a248905d..726316808 100644
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -3085,8 +3085,7 @@ sub GetBugActivity {
# Only includes attachments the user is allowed to see.
my $suppjoins = "";
my $suppwhere = "";
- if (Bugzilla->params->{"insidergroup"}
- && !Bugzilla->user->in_group(Bugzilla->params->{'insidergroup'}))
+ if (!Bugzilla->user->is_insider)
{
$suppjoins = "LEFT JOIN attachments
ON attachments.attach_id = bugs_activity.attach_id";