From 1254fcb8c43defcbce99713f5cd85a104670895e Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 31 Oct 2005 05:31:27 +0000 Subject: Bug 304075: Eliminate use of $::userid from Bugzilla - Patch by Frédéric Buclin r=wicked a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla.pm | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Bugzilla.pm') 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! } -- cgit v1.2.3-24-g4f1b