aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-06-01 07:19:36 +0000
committerlpsolit%gmail.com <>2006-06-01 07:19:36 +0000
commit24a97437dccabbe0778e2e4f8330b47aefda428d (patch)
tree3e2b2965acbfa59a97c02255a01606cbf5121e7e /Bugzilla
parent7b70d6c5950e2840db85b0207f715c58708e2e8d (diff)
downloadbugs-24a97437dccabbe0778e2e4f8330b47aefda428d.tar
bugs-24a97437dccabbe0778e2e4f8330b47aefda428d.tar.gz
bugs-24a97437dccabbe0778e2e4f8330b47aefda428d.tar.bz2
bugs-24a97437dccabbe0778e2e4f8330b47aefda428d.tar.xz
bugs-24a97437dccabbe0778e2e4f8330b47aefda428d.zip
Bug 339858: Remove useless module dependencies in Bugzilla::Auth::* - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Auth/Login/CGI.pm2
-rw-r--r--Bugzilla/Auth/Login/Cookie.pm1
-rw-r--r--Bugzilla/Auth/Login/Env.pm1
-rw-r--r--Bugzilla/Auth/Persist/Cookie.pm3
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);