Index: branches/5.2.x/units/payment_type/payment_type_event_handler.php =================================================================== diff -u -N -r15061 -r15134 --- branches/5.2.x/units/payment_type/payment_type_event_handler.php (.../payment_type_event_handler.php) (revision 15061) +++ branches/5.2.x/units/payment_type/payment_type_event_handler.php (.../payment_type_event_handler.php) (revision 15134) @@ -1,6 +1,6 @@ getObject( Array('skip_autoload' => true) ); $this->StoreSelectedIDs($event); @@ -75,7 +75,7 @@ $event->SetRedirectParam('opener', 's'); } - function OnMassDecline(&$event) + function OnMassDecline($event) { $object =& $event->getObject(Array ('skip_autoload' => true)); /* @var $object kDBItem */ @@ -113,7 +113,7 @@ * @return void * @access protected */ - protected function OnBeforeItemUpdate(kEvent &$event) + protected function OnBeforeItemUpdate(kEvent $event) { parent::OnBeforeItemUpdate($event); @@ -136,7 +136,7 @@ * @return void * @access protected */ - protected function OnBeforeItemCreate(kEvent &$event) + protected function OnBeforeItemCreate(kEvent $event) { parent::OnBeforeItemCreate($event); @@ -151,7 +151,7 @@ * @return void * @access protected */ - protected function customProcessing(kEvent &$event, $type) + protected function customProcessing(kEvent $event, $type) { if ( $event->Name == 'OnMassDelete' && $type == 'before' ) { $object =& $event->getObject(); @@ -183,7 +183,7 @@ * @return void * @access protected */ - protected function OnSave(kEvent &$event) + protected function OnSave(kEvent $event) { $this->Application->StoreVar('check_unused_currencies', 1); @@ -197,7 +197,7 @@ * @return void * @access protected */ - protected function OnAfterConfigRead(kEvent &$event) + protected function OnAfterConfigRead(kEvent $event) { parent::OnAfterConfigRead($event); @@ -213,7 +213,7 @@ * * @param kEvent $event */ - function convertGroups(&$event) + function convertGroups($event) { $object =& $event->getObject(); @@ -236,7 +236,7 @@ * @return int * @access public */ - public function getPassedID(kEvent &$event) + public function getPassedID(kEvent $event) { if ( $event->Special == 'auto-ord' ) { $main_object =& $this->Application->recallObject('ord'); @@ -263,7 +263,7 @@ * @access protected * @see kDBEventHandler::OnListBuild() */ - protected function SetCustomQuery(kEvent &$event) + protected function SetCustomQuery(kEvent $event) { parent::SetCustomQuery($event);