]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1071317: Remove unused variables
authorFrédéric Buclin <LpSolit@gmail.com>
Mon, 29 Sep 2014 10:50:21 +0000 (12:50 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Mon, 29 Sep 2014 10:50:21 +0000 (12:50 +0200)
r=gerv a=sgreen

Bugzilla/Auth.pm
Bugzilla/Auth/Login/Env.pm
template/en/default/global/header.html.tmpl

index 96d4ee88379803499574e31c4afe78f3d1c63e82..c830f0506d7927aa8c694e7e7602390c17bb3f87 100644 (file)
@@ -46,7 +46,6 @@ sub new {
 
 sub login {
     my ($self, $type) = @_;
-    my $dbh = Bugzilla->dbh;
 
     # Get login info from the cookie, form, environment variables, etc.
     my $login_info = $self->{_info_getter}->get_login_info();
index c3d30ccbe185496fe70223e0d5ebee10e856741c..653df2bb390e98ac8e974f60351cd1270d3aab32 100644 (file)
@@ -25,7 +25,6 @@ use constant extern_id_used => 1;
 
 sub get_login_info {
     my ($self) = @_;
-    my $dbh = Bugzilla->dbh;
 
     my $env_id       = $ENV{Bugzilla->params->{"auth_env_id"}} || '';
     my $env_email    = $ENV{Bugzilla->params->{"auth_env_email"}} || '';
index 63c5dd43de24ac4437e4f84f58c29e526ae8c6c3..852d2c85e5ce4bf2e0e6934d1ae17153e19029a4 100644 (file)
@@ -85,8 +85,6 @@
       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     [% END %]
 
-    [% PROCESS 'global/setting-descs.none.tmpl' %]
-
     [% SET yui = yui_resolve_deps(yui, yui_deps) %]
 
     [% SET css_sets = css_files(style_urls, yui, yui_css) %]