summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Config
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-08-28 06:26:13 +0200
committerlpsolit%gmail.com <>2008-08-28 06:26:13 +0200
commit55596ef8c29ae876c718946d54de787f32033db0 (patch)
tree5a09a8373f1e9e268f96caf7ee85e8bf2fee59f4 /Bugzilla/Config
parentef56c491a65eed9dfddb2866c5faa59acb69b0ed (diff)
downloadbugzilla-55596ef8c29ae876c718946d54de787f32033db0.tar.gz
bugzilla-55596ef8c29ae876c718946d54de787f32033db0.tar.xz
Bug 399070: Remove the 'timezone' parameter - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'Bugzilla/Config')
-rw-r--r--Bugzilla/Config/Common.pm11
-rw-r--r--Bugzilla/Config/Core.pm7
2 files changed, 1 insertions, 17 deletions
diff --git a/Bugzilla/Config/Common.pm b/Bugzilla/Config/Common.pm
index 39fc114d6..d105d9db8 100644
--- a/Bugzilla/Config/Common.pm
+++ b/Bugzilla/Config/Common.pm
@@ -35,7 +35,6 @@ package Bugzilla::Config::Common;
use strict;
use Socket;
-use Time::Zone;
use Bugzilla::Util;
use Bugzilla::Constants;
@@ -49,7 +48,7 @@ use base qw(Exporter);
check_sslbase check_priority check_severity check_platform
check_opsys check_shadowdb check_urlbase check_webdotbase
check_netmask check_user_verify_class check_image_converter
- check_mail_delivery_method check_notification check_timezone check_utf8
+ check_mail_delivery_method check_notification check_utf8
check_bug_status check_smtp_auth
);
@@ -327,14 +326,6 @@ sub check_notification {
return "";
}
-sub check_timezone {
- my $tz = shift;
- unless (defined(tz_offset($tz))) {
- return "must be empty or a legal timezone name, such as PDT or JST";
- }
- return "";
-}
-
sub check_smtp_auth {
my $username = shift;
if ($username) {
diff --git a/Bugzilla/Config/Core.pm b/Bugzilla/Config/Core.pm
index b307dd7f5..6d413b965 100644
--- a/Bugzilla/Config/Core.pm
+++ b/Bugzilla/Config/Core.pm
@@ -88,13 +88,6 @@ sub get_param_list {
},
{
- name => 'timezone',
- type => 't',
- default => '',
- checker => \&check_timezone
- },
-
- {
name => 'utf8',
type => 'b',
default => '0',