summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Auth/Login
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-06-03 21:23:12 +0200
committerlpsolit%gmail.com <>2006-06-03 21:23:12 +0200
commit1a18e5fc2c3678e9a4a3049b9289e417ce174c7e (patch)
treee63669d54a68eb921c69c9b78d79b1dd5f7563c3 /Bugzilla/Auth/Login
parentf2df808db17259949894a6431f4bdee6448ef6b5 (diff)
downloadbugzilla-1a18e5fc2c3678e9a4a3049b9289e417ce174c7e.tar.gz
bugzilla-1a18e5fc2c3678e9a4a3049b9289e417ce174c7e.tar.xz
Bug 340104: Move Bugzilla::Auth::get_netaddr() in Util.pm - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
Diffstat (limited to 'Bugzilla/Auth/Login')
-rw-r--r--Bugzilla/Auth/Login/Cookie.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/Bugzilla/Auth/Login/Cookie.pm b/Bugzilla/Auth/Login/Cookie.pm
index 2ca4aca72..f2a93e94e 100644
--- a/Bugzilla/Auth/Login/Cookie.pm
+++ b/Bugzilla/Auth/Login/Cookie.pm
@@ -19,7 +19,6 @@ package Bugzilla::Auth::Login::Cookie;
use strict;
use base qw(Bugzilla::Auth::Login);
-use Bugzilla::Auth;
use Bugzilla::Constants;
use Bugzilla::Util;
@@ -35,7 +34,7 @@ sub get_login_info {
my $dbh = Bugzilla->dbh;
my $ip_addr = $cgi->remote_addr();
- my $net_addr = Bugzilla::Auth::get_netaddr($ip_addr);
+ my $net_addr = get_netaddr($ip_addr);
my $login_cookie = $cgi->cookie("Bugzilla_logincookie");
my $user_id = $cgi->cookie("Bugzilla_login");