From 141b8b9ef9cd9e1c480abdf8c360582b1b59db9d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= Date: Mon, 29 Sep 2014 12:50:21 +0200 Subject: [PATCH] Bug 1071317: Remove unused variables r=gerv a=sgreen --- Bugzilla/Auth.pm | 1 - Bugzilla/Auth/Login/Env.pm | 1 - template/en/default/global/header.html.tmpl | 2 -- 3 files changed, 4 deletions(-) diff --git a/Bugzilla/Auth.pm b/Bugzilla/Auth.pm index 96d4ee8837..c830f0506d 100644 --- a/Bugzilla/Auth.pm +++ b/Bugzilla/Auth.pm @@ -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(); diff --git a/Bugzilla/Auth/Login/Env.pm b/Bugzilla/Auth/Login/Env.pm index c3d30ccbe1..653df2bb39 100644 --- a/Bugzilla/Auth/Login/Env.pm +++ b/Bugzilla/Auth/Login/Env.pm @@ -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"}} || ''; diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index 63c5dd43de..852d2c85e5 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -85,8 +85,6 @@ [% 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) %] -- 2.47.2