Commit 25ca85b5 authored by Matt Selsky's avatar Matt Selsky Committed by Gervase Markham

Bug 1081675 - remove unused variables. r=gerv, a=glob.

parent b7a6c464
...@@ -115,7 +115,6 @@ sub connect_shadow { ...@@ -115,7 +115,6 @@ sub connect_shadow {
} }
sub connect_main { sub connect_main {
my $lc = Bugzilla->localconfig;
return _connect(Bugzilla->localconfig); return _connect(Bugzilla->localconfig);
} }
......
...@@ -294,7 +294,6 @@ sub _bz_get_initial_schema { ...@@ -294,7 +294,6 @@ sub _bz_get_initial_schema {
sub bz_check_server_version { sub bz_check_server_version {
my $self = shift; my $self = shift;
my $lc = Bugzilla->localconfig;
if (lc(Bugzilla->localconfig->{db_name}) eq 'mysql') { if (lc(Bugzilla->localconfig->{db_name}) eq 'mysql') {
die "It is not safe to run Bugzilla inside a database named 'mysql'.\n" 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"; . " Please pick a different value for \$db_name in localconfig.\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment