protected function SessionProxy_Backend_Base::refreshAfterSessionChange in Session Proxy 7
Refresh various information of the object right after session state change.
4 calls to SessionProxy_Backend_Base::refreshAfterSessionChange()
- SessionProxy_Backend_Base::__construct in lib/
SessionProxy/ Backend/ Base.php - Default constructor.
- SessionProxy_Backend_Default::destroyProxy in lib/
SessionProxy/ Backend/ Default.php - Session destroy will require us to update the current logged in user.
- SessionProxy_Backend_Default::regenerate in lib/
SessionProxy/ Backend/ Default.php - Regenerate the current session.
- SessionProxy_Backend_Native::regenerate in lib/
SessionProxy/ Backend/ Native.php - Regenerate the current session.
File
- lib/
SessionProxy/ Backend/ Base.php, line 109
Class
Code
protected function refreshAfterSessionChange() {
$this
->updateUser();
// FIXME: This should not live in user session, but as a reaction of
// session creation or regeneration in user module.
date_default_timezone_set(drupal_get_user_timezone());
}