From 24a97437dccabbe0778e2e4f8330b47aefda428d Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 1 Jun 2006 07:19:36 +0000 Subject: Bug 339858: Remove useless module dependencies in Bugzilla::Auth::* - Patch by Frédéric Buclin r=mkanat a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/Auth/Login/CGI.pm | 2 +- Bugzilla/Auth/Login/Cookie.pm | 1 - Bugzilla/Auth/Login/Env.pm | 1 - Bugzilla/Auth/Persist/Cookie.pm | 3 ++- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Bugzilla/Auth/Login/CGI.pm b/Bugzilla/Auth/Login/CGI.pm index 14b64ee79..e6fa7d590 100644 --- a/Bugzilla/Auth/Login/CGI.pm +++ b/Bugzilla/Auth/Login/CGI.pm @@ -36,7 +36,7 @@ use constant user_can_create_account => 1; use Bugzilla::Config; use Bugzilla::Constants; use Bugzilla::Util; -use Bugzilla::User; +use Bugzilla::Error; sub get_login_info { my ($self) = @_; diff --git a/Bugzilla/Auth/Login/Cookie.pm b/Bugzilla/Auth/Login/Cookie.pm index e4cc0daac..2ca4aca72 100644 --- a/Bugzilla/Auth/Login/Cookie.pm +++ b/Bugzilla/Auth/Login/Cookie.pm @@ -21,7 +21,6 @@ use base qw(Bugzilla::Auth::Login); use Bugzilla::Auth; use Bugzilla::Constants; -use Bugzilla::User; use Bugzilla::Util; use constant requires_persistence => 0; diff --git a/Bugzilla/Auth/Login/Env.pm b/Bugzilla/Auth/Login/Env.pm index fda71bf35..ade192ea0 100644 --- a/Bugzilla/Auth/Login/Env.pm +++ b/Bugzilla/Auth/Login/Env.pm @@ -27,7 +27,6 @@ use base qw(Bugzilla::Auth::Login); use Bugzilla::Config; use Bugzilla::Constants; use Bugzilla::Error; -use Bugzilla::User; use constant can_logout => 0; use constant can_login => 0; diff --git a/Bugzilla/Auth/Persist/Cookie.pm b/Bugzilla/Auth/Persist/Cookie.pm index ce59ef4bd..c41948e72 100644 --- a/Bugzilla/Auth/Persist/Cookie.pm +++ b/Bugzilla/Auth/Persist/Cookie.pm @@ -32,10 +32,11 @@ package Bugzilla::Auth::Persist::Cookie; use strict; use fields qw(); +use Bugzilla::Auth; use Bugzilla::Config; use Bugzilla::Constants; use Bugzilla::Util; -use Bugzilla::User; +use Bugzilla::Token; use List::Util qw(first); -- cgit v1.2.3-24-g4f1b