aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Config/Admin.pm')
-rw-r--r--Bugzilla/Config/Admin.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/Bugzilla/Config/Admin.pm b/Bugzilla/Config/Admin.pm
index 7be3e54d1..41d929298 100644
--- a/Bugzilla/Config/Admin.pm
+++ b/Bugzilla/Config/Admin.pm
@@ -7,7 +7,9 @@
package Bugzilla::Config::Admin;
+use 5.10.1;
use strict;
+use warnings;
use Bugzilla::Config::Common;
@@ -32,6 +34,13 @@ sub get_param_list {
name => 'allowuserdeletion',
type => 'b',
default => 0
+ },
+
+ {
+ name => 'last_visit_keep_days',
+ type => 't',
+ default => 10,
+ checker => \&check_numeric
});
return @param_list;
}