[AppDB] - move $_SESSION['current'] manipulation into user class
Chris Morgan
cmorgan at alum.wpi.edu
Tue Jul 4 15:09:02 CDT 2006
user::login() was setting $this->iUserId so user::isLoggedIn() would return
true but only account.php was actually setting the session variable used to
refer to the current user object. Move the $_SESSION['current'] manipulation
into the user class so user::login() actually logs us in from the perspective
of most of the appdb code. Add user::logout() to keep symmetrical. Minor
cleanups to account.php
Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: user_login_logout_cleanup.patch
Type: text/x-diff
Size: 2986 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060704/02b24ebd/user_login_logout_cleanup.patch
More information about the wine-patches
mailing list