diff options
Diffstat (limited to 'Bugzilla/Config')
-rw-r--r-- | Bugzilla/Config/Common.pm | 13 | ||||
-rw-r--r-- | Bugzilla/Config/General.pm | 7 |
2 files changed, 1 insertions, 19 deletions
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 @@ -25,13 +25,6 @@ use constant get_param_list => ( }, { - name => 'docs_urlbase', - type => 't', - default => 'docs/%lang%/html/', - checker => \&check_url - }, - - { name => 'utf8', type => 'b', default => '0', |