summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-10-31 06:31:27 +0100
committerlpsolit%gmail.com <>2005-10-31 06:31:27 +0100
commit1254fcb8c43defcbce99713f5cd85a104670895e (patch)
tree3b842a5b96f429d0db2d5ade3ba409cf1fae7e5a /Bugzilla.pm
parentcf3aa532ea51a41b02c8ea73db254d01c03280ba (diff)
downloadbugzilla-1254fcb8c43defcbce99713f5cd85a104670895e.tar.gz
bugzilla-1254fcb8c43defcbce99713f5cd85a104670895e.tar.xz
Bug 304075: Eliminate use of $::userid from Bugzilla - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked a=justdave
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r--Bugzilla.pm4
1 files changed, 0 insertions, 4 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm
index a86e799eb..de30d8c99 100644
--- a/Bugzilla.pm
+++ b/Bugzilla.pm
@@ -145,7 +145,6 @@ sub sudo_request {
$_user = $new_user;
$_sudoer = $new_sudoer;
- $::userid = $new_user->id;
# NOTE: If you want to log the start of an sudo session, do it here.
@@ -177,7 +176,6 @@ sub login {
{
$_user = $sudo_target;
$_sudoer = $authenticated_user;
- $::userid = $sudo_target->id;
# NOTE: If you want to do any special logging, do it here.
}
@@ -216,8 +214,6 @@ sub logout_user_by_id {
sub logout_request {
undef $_user;
undef $_sudoer;
- # XXX clean this up eventually
- $::userid = 0;
# We can't delete from $cgi->cookie, so logincookie data will remain
# there. Don't rely on it: use Bugzilla->user->login instead!
}