summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/DB.pm1
-rw-r--r--Bugzilla/DB/Mysql.pm1
2 files changed, 0 insertions, 2 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm
index 87a1c9689..9f3ed0f49 100644
--- a/Bugzilla/DB.pm
+++ b/Bugzilla/DB.pm
@@ -115,7 +115,6 @@ sub connect_shadow {
}
sub connect_main {
- my $lc = Bugzilla->localconfig;
return _connect(Bugzilla->localconfig);
}
diff --git a/Bugzilla/DB/Mysql.pm b/Bugzilla/DB/Mysql.pm
index 02cc8bc10..ae158e0f6 100644
--- a/Bugzilla/DB/Mysql.pm
+++ b/Bugzilla/DB/Mysql.pm
@@ -294,7 +294,6 @@ sub _bz_get_initial_schema {
sub bz_check_server_version {
my $self = shift;
- my $lc = Bugzilla->localconfig;
if (lc(Bugzilla->localconfig->{db_name}) eq 'mysql') {
die "It is not safe to run Bugzilla inside a database named 'mysql'.\n"
. " Please pick a different value for \$db_name in localconfig.\n";