From d6370f0638bfb1e237334e35e4e23524280cf6d2 Mon Sep 17 00:00:00 2001 From: "Sunil Joshi [:SunilJoshi]" Date: Fri, 21 Mar 2014 14:25:43 +0000 Subject: Bug 399087 - Remove the 'mostfreqthreshold' parameter r=dkl,a=justdave --- Bugzilla/Constants.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Bugzilla/Constants.pm') diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index a7f3f9e3b..984a61d45 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -187,6 +187,8 @@ use Memoize; AUDIT_CREATE AUDIT_REMOVE + + MOST_FREQUENT_THRESHOLD ); @Bugzilla::Constants::EXPORT_OK = qw(contenttypes); @@ -616,6 +618,10 @@ use constant PRIVILEGES_REQUIRED_EMPOWERED => 3; use constant AUDIT_CREATE => '__create__'; use constant AUDIT_REMOVE => '__remove__'; +# The minimum number of duplicates a bug needs to show up +# on the "Most frequently reported bugs" page. +use constant MOST_FREQUENT_THRESHOLD => 2; + sub bz_locations { # Force memoize() to re-compute data per project, to avoid # sharing the same data across different installations. -- cgit v1.2.3-24-g4f1b