Index: branches/5.1.x/core/units/helpers/user_helper.php =================================================================== diff -u -N -r14148 -r14198 --- branches/5.1.x/core/units/helpers/user_helper.php (.../user_helper.php) (revision 14148) +++ branches/5.1.x/core/units/helpers/user_helper.php (.../user_helper.php) (revision 14198) @@ -1,6 +1,6 @@ Application->StorePersistentVar('ThisLogin', adodb_mktime()); } - $this->Application->HandleEvent($dummy, 'session-log:OnStartSession'); + $this->Application->HandleEvent($dummy, 'u:OnAfterLogin'); } /** @@ -208,7 +208,7 @@ $sync_manager =& $this->Application->recallObjectP('UsersSyncronizeManager', null, Array(), 'InPortalSyncronize'); $sync_manager->performAction('LogoutUser'); - $this->Application->HandleEvent($dummy, 'session-log:OnEndSession'); + $this->Application->HandleEvent($dummy, 'u:OnBeforeLogout'); $user_id = USER_GUEST; $this->Application->SetVar('u.current_id', $user_id);