Navigation Menu

Skip to content

Commit

Permalink
Bug 1081675 - remove unused variables. r=gerv, a=glob.
Browse files Browse the repository at this point in the history
  • Loading branch information
selsky authored and Gervase Markham committed Oct 29, 2014
1 parent b7a6c46 commit 25ca85b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Bugzilla/DB.pm
Expand Up @@ -115,7 +115,6 @@ sub connect_shadow {
}

sub connect_main {
my $lc = Bugzilla->localconfig;
return _connect(Bugzilla->localconfig);
}

Expand Down
1 change: 0 additions & 1 deletion Bugzilla/DB/Mysql.pm
Expand Up @@ -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";
Expand Down

0 comments on commit 25ca85b

Please sign in to comment.