summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Auth/Persist
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/Persist
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/Persist')
-rw-r--r--Bugzilla/Auth/Persist/Cookie.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/Bugzilla/Auth/Persist/Cookie.pm b/Bugzilla/Auth/Persist/Cookie.pm
index c41948e72..7d1209a0e 100644
--- a/Bugzilla/Auth/Persist/Cookie.pm
+++ b/Bugzilla/Auth/Persist/Cookie.pm
@@ -32,7 +32,6 @@ package Bugzilla::Auth::Persist::Cookie;
use strict;
use fields qw();
-use Bugzilla::Auth;
use Bugzilla::Config;
use Bugzilla::Constants;
use Bugzilla::Util;
@@ -55,8 +54,7 @@ sub persist_login {
unless ($cgi->param('Bugzilla_restrictlogin') ||
Param('loginnetmask') == 32)
{
- # XXX I don't like this subclass being dependent upon its parent.
- $ip_addr = Bugzilla::Auth::get_netaddr($ip_addr);
+ $ip_addr = get_netaddr($ip_addr);
}
# The IP address is valid, at least for comparing with itself in a