From: bugreport%peshkin.net <> Date: Fri, 4 Apr 2008 11:47:54 +0000 (+0000) Subject: Bug 253588: Change Bugzilla->user to be usable even for a logged-out user X-Git-Tag: bugzilla-3.1.1~150 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c7873a32bbd999dc677cd133383afa9274a63b9;p=thirdparty%2Fbugzilla.git Bug 253588: Change Bugzilla->user to be usable even for a logged-out user patch by erik,joel r=kiko a=justdave --- diff --git a/docs/en/rel_notes.txt b/docs/en/rel_notes.txt index 139df3edc7..1cf9dfdfce 100644 --- a/docs/en/rel_notes.txt +++ b/docs/en/rel_notes.txt @@ -32,7 +32,7 @@ Required Perl modules: CGI v2.93 (new since 2.16) (changed from 2.17.7) Data::Dumper (any) Date::Format v2.21 (changed from 2.16) - DBI v1.32 (changed from 2.16) + DBI v1.36 (changed from 2.16) (changed from 2.17.7) DBD::mysql v2.1010 (changed from 2.16) File::Spec v0.82 File::Temp (any) @@ -287,7 +287,7 @@ Code Changes Which May Affect Customizations - Use Bugzilla->user->login in place of $::COOKIE{Bugzilla_login} - You can tell if there's a user logged in or not by checking if - Bugzilla->user exists rather than looking for $::userid==0 + Bugzilla->user->id != 0 rather than looking for $::userid != 0 Recommended Practice for the Upgrade