Index: branches/5.2.x/core/units/helpers/user_helper.php =================================================================== diff -u -N -r15012 -r15130 --- branches/5.2.x/core/units/helpers/user_helper.php (.../user_helper.php) (revision 15012) +++ branches/5.2.x/core/units/helpers/user_helper.php (.../user_helper.php) (revision 15130) @@ -1,6 +1,6 @@ Application->StorePersistentVar('ThisLogin', adodb_mktime()); } - $this->Application->HandleEvent($dummy, 'u:OnAfterLogin'); + $this->Application->HandleEvent(new kEvent('u:OnAfterLogin')); } /** @@ -276,7 +276,7 @@ $sync_manager->performAction('LogoutUser'); - $this->Application->HandleEvent($dummy, 'u:OnBeforeLogout'); + $this->Application->HandleEvent(new kEvent('u:OnBeforeLogout')); $user_id = USER_GUEST; $this->Application->SetVar('u.current_id', $user_id);