зеркало из https://github.com/mozilla/gecko-dev.git
Bug 312150: Some routines are not exported in Bugzilla/Config/Common.pm - Patch by Fr�d�ric Buclin <LpSolit@gmail.com> r=joel a=justdave
This commit is contained in:
Родитель
71435178bc
Коммит
f993b66886
|
@ -60,7 +60,8 @@ use Bugzilla::Constants;
|
|||
|
||||
use base qw(Exporter);
|
||||
@Bugzilla::Config::Common::EXPORT =
|
||||
qw(check_sslbase check_priority check_severity check_platform
|
||||
qw(check_multi check_numeric check_regexp
|
||||
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_languages check_mail_delivery_method
|
||||
|
|
|
@ -27,6 +27,7 @@ use lib ".";
|
|||
|
||||
use Bugzilla::Constants;
|
||||
use Bugzilla::Config qw(:DEFAULT :admin :params $datadir);
|
||||
use Bugzilla::Config::Common;
|
||||
|
||||
require "globals.pl";
|
||||
use vars qw($vars @parampanels);
|
||||
|
@ -51,6 +52,7 @@ my $current_module;
|
|||
my @panels = ();
|
||||
foreach my $panel (@parampanels) {
|
||||
next if ($panel eq 'Common');
|
||||
require "Bugzilla/Config/$panel.pm";
|
||||
my @module_param_list = "Bugzilla::Config::${panel}"->get_param_list();
|
||||
my $item = { name => lc($panel),
|
||||
current => ($current_panel eq lc($panel)) ? 1 : 0,
|
||||
|
|
Загрузка…
Ссылка в новой задаче