diff options
author | 2014-03-21 14:25:43 +0000 | |
---|---|---|
committer | 2014-03-21 14:25:43 +0000 | |
commit | d6370f0638bfb1e237334e35e4e23524280cf6d2 (patch) | |
tree | 539eee2a8d067d83926e37864f517acc0aa36c81 /duplicates.cgi | |
parent | Bug 986141 - As part of bug 513212, the see_also field still displays in ente... (diff) | |
download | bugzilla-d6370f0638bfb1e237334e35e4e23524280cf6d2.tar.gz bugzilla-d6370f0638bfb1e237334e35e4e23524280cf6d2.tar.bz2 bugzilla-d6370f0638bfb1e237334e35e4e23524280cf6d2.zip |
Bug 399087 - Remove the 'mostfreqthreshold' parameter
r=dkl,a=justdave
Diffstat (limited to 'duplicates.cgi')
-rwxr-xr-x | duplicates.cgi | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/duplicates.cgi b/duplicates.cgi index d501b0e16..beac9c37e 100755 --- a/duplicates.cgi +++ b/duplicates.cgi @@ -172,10 +172,9 @@ my %since_dups = @{$dbh->selectcol_arrayref( $reso_field_id, $changedsince)}; add_indirect_dups(\%since_dups, \%dupe_relation); -# Enforce the mostfreqthreshold parameter and the "bug_id" cgi param. -my $mostfreq = Bugzilla->params->{'mostfreqthreshold'}; +# Enforce the MOST_FREQUENT_THRESHOLD constant and the "bug_id" cgi param. foreach my $id (keys %total_dups) { - if ($total_dups{$id} < $mostfreq) { + if ($total_dups{$id} < MOST_FREQUENT_THRESHOLD) { delete $total_dups{$id}; next; } |