diff options
author | mkanat%bugzilla.org <> | 2006-09-19 07:16:43 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-09-19 07:16:43 +0200 |
commit | 0fccdb26ae49bd8bb6022d48b769595e0a328278 (patch) | |
tree | 90785472439295e8900fd46ea6a7519359d954ac /Bugzilla/Config.pm | |
parent | e1cdcb29f47b7c9c3ccd6d782a566e3a9b03a956 (diff) | |
download | bugzilla-0fccdb26ae49bd8bb6022d48b769595e0a328278.tar.gz bugzilla-0fccdb26ae49bd8bb6022d48b769595e0a328278.tar.xz |
Bug 352235: Use Bugzilla->localconfig everywhere instead of :localconfig from Bugzilla::Config
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk
Diffstat (limited to 'Bugzilla/Config.pm')
-rw-r--r-- | Bugzilla/Config.pm | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/Bugzilla/Config.pm b/Bugzilla/Config.pm index 7db033285..1423c1196 100644 --- a/Bugzilla/Config.pm +++ b/Bugzilla/Config.pm @@ -43,18 +43,13 @@ use File::Temp; %Bugzilla::Config::EXPORT_TAGS = ( admin => [qw(update_params SetParam write_params)], - db => [qw($db_driver $db_host $db_port $db_name $db_user $db_pass $db_sock - $db_check)], - localconfig => [qw($cvsbin $interdiffbin $diffpath $webservergroup)], ); -Exporter::export_ok_tags('admin', 'db', 'localconfig'); +Exporter::export_ok_tags('admin'); use vars qw(@param_list); # INITIALISATION CODE # Perl throws a warning if we use bz_locations() directly after do. -our $localconfig = bz_locations()->{'localconfig'}; -do $localconfig; our %params; # Load in the param definitions sub _load_params { @@ -327,10 +322,6 @@ Bugzilla::Config - Configuration parameters for Bugzilla SetParam($param, $value); write_params(); - # Localconfig variables may also be imported - use Bugzilla::Config qw(:db); - print "Connecting to $db_name as $db_user with $db_pass\n"; - =head1 DESCRIPTION This package contains ways to access Bugzilla configuration parameters. |