Index: branches/5.2.x/core/units/users/users_event_handler.php =================================================================== diff -u -N -r15050 -r15065 --- branches/5.2.x/core/units/users/users_event_handler.php (.../users_event_handler.php) (revision 15050) +++ branches/5.2.x/core/units/users/users_event_handler.php (.../users_event_handler.php) (revision 15065) @@ -1,6 +1,6 @@ Application->isAdmin ) { parent::OnCreate($event); @@ -513,7 +515,7 @@ * @return void * @access protected */ - protected function OnBeforeItemCreate(&$event) + protected function OnBeforeItemCreate(kEvent &$event) { parent::OnBeforeItemCreate($event); @@ -925,7 +927,7 @@ * @return void * @access protected */ - protected function OnBeforeItemUpdate(&$event) + protected function OnBeforeItemUpdate(kEvent &$event) { parent::OnBeforeItemUpdate($event); @@ -1312,8 +1314,10 @@ * Sends approved/declined email event on user status change * * @param kEvent $event + * @return void + * @access protected */ - function OnAfterItemUpdate(&$event) + protected function OnAfterItemUpdate(kEvent &$event) { parent::OnAfterItemUpdate($event); @@ -1371,7 +1375,7 @@ * @return void * @access protected */ - protected function OnBeforeDeleteFromLive(&$event) + protected function OnBeforeDeleteFromLive(kEvent &$event) { parent::OnBeforeDeleteFromLive($event); @@ -1388,8 +1392,10 @@ * Sends approved/declined email event on user status change (in temp tables during editing) * * @param kEvent $event + * @return void + * @access protected */ - function OnAfterCopyToLive(&$event) + protected function OnAfterCopyToLive(kEvent &$event) { parent::OnAfterCopyToLive($event); @@ -1623,7 +1629,7 @@ * @return void * @access protected */ - protected function OnBeforeClone(&$event) + protected function OnBeforeClone(kEvent &$event) { parent::OnBeforeClone($event); @@ -1706,7 +1712,7 @@ * @return void * @access protected */ - protected function OnAfterItemLoad(&$event) + protected function OnAfterItemLoad(kEvent &$event) { parent::OnAfterItemLoad($event); @@ -1769,7 +1775,7 @@ * @return void * @access protected */ - function OnPreCreate(&$event) + protected function OnPreCreate(kEvent &$event) { parent::OnPreCreate($event);