diff options
Diffstat (limited to 'Bugzilla/Search.pm')
-rw-r--r-- | Bugzilla/Search.pm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 92ed27b80..d2d3b4978 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -578,7 +578,7 @@ sub init { my $table = "longdescs_$chartid"; my $extra = ""; if (Bugzilla->params->{"insidergroup"} - && !UserInGroup(Bugzilla->params->{"insidergroup"})) + && !Bugzilla->user->in_group(Bugzilla->params->{"insidergroup"})) { $extra = "AND $table.isprivate < 1"; } @@ -641,7 +641,7 @@ sub init { my $table = "longdescs_$chartseq"; my $extra = ""; if (Bugzilla->params->{"insidergroup"} - && !UserInGroup(Bugzilla->params->{"insidergroup"})) + && !Bugzilla->user->in_group(Bugzilla->params->{"insidergroup"})) { $extra = "AND $table.isprivate < 1"; } @@ -661,7 +661,7 @@ sub init { my $table = "longdescs_$chartseq"; my $extra = ""; if (Bugzilla->params->{"insidergroup"} - && !UserInGroup(Bugzilla->params->{"insidergroup"})) + && !Bugzilla->user->in_group(Bugzilla->params->{"insidergroup"})) { $extra = "AND $table.isprivate < 1"; } @@ -684,7 +684,7 @@ sub init { my $table = "longdescs_$chartid"; my $extra = ""; if (Bugzilla->params->{"insidergroup"} - && !UserInGroup(Bugzilla->params->{"insidergroup"})) + && !Bugzilla->user->in_group(Bugzilla->params->{"insidergroup"})) { $extra = "AND $table.isprivate < 1"; } @@ -793,7 +793,7 @@ sub init { my $dtable = "attachdata_$chartid"; my $extra = ""; if (Bugzilla->params->{"insidergroup"} - && !UserInGroup(Bugzilla->params->{"insidergroup"})) + && !Bugzilla->user->in_group(Bugzilla->params->{"insidergroup"})) { $extra = "AND $atable.isprivate = 0"; } @@ -807,7 +807,7 @@ sub init { my $table = "attachments_$chartid"; my $extra = ""; if (Bugzilla->params->{"insidergroup"} - && !UserInGroup(Bugzilla->params->{"insidergroup"})) + && !Bugzilla->user->in_group(Bugzilla->params->{"insidergroup"})) { $extra = "AND $table.isprivate = 0"; } |