diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2014-09-29 12:50:21 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2014-09-29 12:50:21 +0200 |
commit | 141b8b9ef9cd9e1c480abdf8c360582b1b59db9d (patch) | |
tree | 7cd54299e9d7ec04171f4792a97cdbf917be0521 | |
parent | e6fa99287f4aaa2e2f134ca8e0eebb39c2cc2b6a (diff) | |
download | bugzilla-141b8b9ef9cd9e1c480abdf8c360582b1b59db9d.tar.gz bugzilla-141b8b9ef9cd9e1c480abdf8c360582b1b59db9d.tar.xz |
Bug 1071317: Remove unused variables
r=gerv a=sgreen
-rw-r--r-- | Bugzilla/Auth.pm | 1 | ||||
-rw-r--r-- | Bugzilla/Auth/Login/Env.pm | 1 | ||||
-rw-r--r-- | template/en/default/global/header.html.tmpl | 2 |
3 files changed, 0 insertions, 4 deletions
diff --git a/Bugzilla/Auth.pm b/Bugzilla/Auth.pm index 96d4ee883..c830f0506 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 c3d30ccbe..653df2bb3 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 63c5dd43d..852d2c85e 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -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) %] |