summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkiko%async.com.br <>2004-07-29 12:02:05 +0200
committerkiko%async.com.br <>2004-07-29 12:02:05 +0200
commitb5c21790186a08e0f03dc7f484a515ded65bc4d0 (patch)
tree8c0a34936374bc8c887118d8f84598d2e524ebb9
parent980caddf38bcd69700711c6e538844607a6162b9 (diff)
downloadbugzilla-b5c21790186a08e0f03dc7f484a515ded65bc4d0.tar.gz
bugzilla-b5c21790186a08e0f03dc7f484a515ded65bc4d0.tar.xz
Missing bits of fix for bug 236678: Clean up access to COOKIE global.
Murder the last remaining places in the tree where COOKIE is used; includes a rather thorough cleanup of Bugzilla::Bug->user and a minor doc update. r=joel, a=justdave.
-rw-r--r--Bugzilla/Auth/Login/WWW.pm8
1 files changed, 0 insertions, 8 deletions
diff --git a/Bugzilla/Auth/Login/WWW.pm b/Bugzilla/Auth/Login/WWW.pm
index 2c45562d2..d18c758d9 100644
--- a/Bugzilla/Auth/Login/WWW.pm
+++ b/Bugzilla/Auth/Login/WWW.pm
@@ -43,9 +43,6 @@ sub login {
# Avoid double-logins, which may confuse the auth code
# (double cookies, odd compat code settings, etc)
- # This is particularly important given the munging for
- # $::COOKIE{'Bugzilla_login'} from a userid to a loginname
- # (for backwards compat)
if (defined $user) {
return $user;
}
@@ -71,11 +68,6 @@ sub login {
# Compat stuff
$::userid = $userid;
-
- # Evil compat hack. The cookie stores the id now, not the name, but
- # old code still looks at this to get the current user's email
- # so it needs to be set.
- $::COOKIE{'Bugzilla_login'} = $user->login;
} else {
Bugzilla->logout_request();
}