From 323acaaecd742e195c718e696e3206c516ccda32 Mon Sep 17 00:00:00 2001 From: Gervase Markham Date: Thu, 18 Dec 2014 16:08:19 +0000 Subject: Bug 399068: Remove the docs_urlbase parameter. r=LpSolit, a=dkl. --- Bugzilla/Config/Common.pm | 13 +------------ Bugzilla/Config/General.pm | 7 ------- 2 files changed, 1 insertion(+), 19 deletions(-) (limited to 'Bugzilla/Config') diff --git a/Bugzilla/Config/Common.pm b/Bugzilla/Config/Common.pm index f7e37c6fc..b6e58b318 100644 --- a/Bugzilla/Config/Common.pm +++ b/Bugzilla/Config/Common.pm @@ -22,7 +22,7 @@ use Bugzilla::Status; use parent qw(Exporter); @Bugzilla::Config::Common::EXPORT = - qw(check_multi check_numeric check_regexp check_url check_group + qw(check_multi check_numeric check_regexp check_group check_sslbase check_priority check_severity check_platform check_opsys check_shadowdb check_urlbase check_user_verify_class check_ip check_mail_delivery_method check_notification check_utf8 @@ -211,15 +211,6 @@ sub check_urlbase { return ""; } -sub check_url { - my ($url) = (@_); - return '' if $url eq ''; # Allow empty URLs - if ($url !~ m:/$:) { - return 'must be a legal URL, absolute or relative, ending with a slash.'; - } - return ''; -} - sub check_user_verify_class { # doeditparams traverses the list of params, and for each one it checks, # then updates. This means that if one param checker wants to look at @@ -491,8 +482,6 @@ valid group is provided. =item check_smtp_auth -=item check_url - =item check_urlbase =item check_email diff --git a/Bugzilla/Config/General.pm b/Bugzilla/Config/General.pm index 5efaa6f6c..380680590 100644 --- a/Bugzilla/Config/General.pm +++ b/Bugzilla/Config/General.pm @@ -24,13 +24,6 @@ use constant get_param_list => ( checker => \&check_email }, - { - name => 'docs_urlbase', - type => 't', - default => 'docs/%lang%/html/', - checker => \&check_url - }, - { name => 'utf8', type => 'b', -- cgit v1.2.3-24-g4f1b