Index: branches/5.2.x/units/currencies/currencies_event_handler.php =================================================================== diff -u -N -r15061 -r15134 --- branches/5.2.x/units/currencies/currencies_event_handler.php (.../currencies_event_handler.php) (revision 15061) +++ branches/5.2.x/units/currencies/currencies_event_handler.php (.../currencies_event_handler.php) (revision 15134) @@ -1,6 +1,6 @@ Special == 'current' ) { return Array ('ISO' => $this->Application->RecallVar('curr_iso')); @@ -65,7 +65,7 @@ * * @param kEvent $event */ - function OnSetPrimary(&$event) + function OnSetPrimary($event) { if ($this->Application->CheckPermission('SYSTEM_ACCESS.READONLY', 1)) { $event->status = kEvent::erFAIL; @@ -86,7 +86,7 @@ * @return void * @access protected */ - protected function OnBeforeItemUpdate(kEvent &$event) + protected function OnBeforeItemUpdate(kEvent $event) { parent::OnBeforeItemUpdate($event); @@ -120,7 +120,7 @@ * @access protected * @see kDBEventHandler::OnListBuild() */ - protected function SetCustomQuery(kEvent &$event) + protected function SetCustomQuery(kEvent $event) { parent::SetCustomQuery($event); @@ -161,7 +161,7 @@ * @return void * @access protected */ - protected function OnSave(kEvent &$event) + protected function OnSave(kEvent $event) { $this->Application->StoreVar('saved_curr_ids', $this->Application->RecallVar($event->Prefix . '_selected_ids')); @@ -173,7 +173,7 @@ * * @param kEvent $event */ - function OnDisableUnused(&$event) + function OnDisableUnused($event) { $unused_ids = $this->Application->GetVar('unused_ids'); @@ -190,7 +190,7 @@ * * @param kEvent $event */ - function OnUpdateRate(&$event) + function OnUpdateRate($event) { if ($this->Application->CheckPermission('SYSTEM_ACCESS.READONLY', 1)) { $event->status = kEvent::erFAIL; @@ -230,7 +230,7 @@ * * @param kEvent $event */ - function OnUpdateRates(&$event) + function OnUpdateRates($event) { if ($this->Application->CheckPermission('SYSTEM_ACCESS.READONLY', 1)) { $event->status = kEvent::erFAIL; @@ -275,7 +275,7 @@ * @return void * @access protected */ - protected function OnChangeCurrency(&$event) + protected function OnChangeCurrency($event) { $currency_iso = $this->Application->GetVar('curr_iso'); $available_currencies = $this->Application->siteDomainField('Currencies'); @@ -305,7 +305,7 @@ * @return void * @access protected */ - protected function OnAfterConfigRead(kEvent &$event) + protected function OnAfterConfigRead(kEvent $event) { parent::OnAfterConfigRead($event);