summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Config.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Config.pm')
-rw-r--r--Bugzilla/Config.pm11
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.