From b1f4cf8bdc4b49c02ebebbee2553202bc46ab720 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Tue, 4 Jul 2006 04:26:20 +0000 Subject: Bug 342869: Use Bugzilla->params everywhere except templates Patch By Max Kanat-Alexander r=LpSolit, a=justdave --- duplicates.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'duplicates.cgi') diff --git a/duplicates.cgi b/duplicates.cgi index 6b839165b..1de3fe15c 100755 --- a/duplicates.cgi +++ b/duplicates.cgi @@ -132,7 +132,7 @@ if (!tie(%dbmcount, 'AnyDBM_File', "$datadir/duplicates/dupes$today", # Remove all those dupes under the threshold parameter. # We do this, before the sorting, for performance reasons. -my $threshold = Param("mostfreqthreshold"); +my $threshold = Bugzilla->params->{"mostfreqthreshold"}; while (my ($key, $value) = each %count) { delete $count{$key} if ($value < $threshold); -- cgit v1.2.3-24-g4f1b