From 55596ef8c29ae876c718946d54de787f32033db0 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 28 Aug 2008 04:26:13 +0000 Subject: Bug 399070: Remove the 'timezone' parameter - Patch by Frédéric Buclin r/a=mkanat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/Config/Common.pm | 11 +---------- Bugzilla/Config/Core.pm | 7 ------- 2 files changed, 1 insertion(+), 17 deletions(-) (limited to 'Bugzilla/Config') 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 @@ -87,13 +87,6 @@ sub get_param_list { default => '/' }, - { - name => 'timezone', - type => 't', - default => '', - checker => \&check_timezone - }, - { name => 'utf8', type => 'b', -- cgit v1.2.3-24-g4f1b