summaryrefslogtreecommitdiffstats
path: root/duplicates.cgi
diff options
context:
space:
mode:
authorSunil Joshi [:SunilJoshi] <joshi_sunil@in.com>2014-03-21 15:25:43 +0100
committerDavid Lawrence <dkl@mozilla.com>2014-03-21 15:25:43 +0100
commitd6370f0638bfb1e237334e35e4e23524280cf6d2 (patch)
tree539eee2a8d067d83926e37864f517acc0aa36c81 /duplicates.cgi
parentace77744f0bc750b8976f1ad175b52ed715c8083 (diff)
downloadbugzilla-d6370f0638bfb1e237334e35e4e23524280cf6d2.tar.gz
bugzilla-d6370f0638bfb1e237334e35e4e23524280cf6d2.tar.xz
Bug 399087 - Remove the 'mostfreqthreshold' parameter
r=dkl,a=justdave
Diffstat (limited to 'duplicates.cgi')
-rwxr-xr-xduplicates.cgi5
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;
}