From: Frédéric Buclin Date: Mon, 29 Sep 2014 10:50:21 +0000 (+0200) Subject: Bug 1071317: Remove unused variables X-Git-Tag: bugzilla-4.5.6~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=141b8b9ef9cd9e1c480abdf8c360582b1b59db9d;p=thirdparty%2Fbugzilla.git Bug 1071317: Remove unused variables r=gerv a=sgreen --- 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) %]