Index: branches/5.2.x/units/links/links_event_handler.php =================================================================== diff -u -N -r15062 -r15135 --- branches/5.2.x/units/links/links_event_handler.php (.../links_event_handler.php) (revision 15062) +++ branches/5.2.x/units/links/links_event_handler.php (.../links_event_handler.php) (revision 15135) @@ -1,6 +1,6 @@ Application->LinkVar($event->getPrefixSpecial(true).'_dupe_fields', $event->getPrefixSpecial().'_dupe_fields'); } @@ -103,7 +103,7 @@ * * @param kEvent $event */ - function OnMerge(&$event) + function OnMerge($event) { $link_helper =& $this->Application->recallObject('LinkHelper'); /* @var $link_helper LinkHelper */ @@ -194,7 +194,7 @@ * @return void * @access protected */ - protected function OnStoreSelected(kEvent &$event) + protected function OnStoreSelected(kEvent $event) { $this->StoreSelectedIDs($event); @@ -208,7 +208,7 @@ * @return void * @access protected */ - protected function OnCreate(kEvent &$event) + protected function OnCreate(kEvent $event) { parent::OnCreate($event); @@ -241,7 +241,7 @@ * @return void * @access protected */ - protected function OnAfterConfigRead(kEvent &$event) + protected function OnAfterConfigRead(kEvent $event) { parent::OnAfterConfigRead($event); @@ -274,7 +274,7 @@ * * @param kEvent $event */ - function OnContactFormSubmit(&$event) + function OnContactFormSubmit($event) { $fields = Array ( 'ContactFormFullName', 'ContactFormEmail', 'ContactFormSubject', 'ContactFormBody', 'ContactFormCaptcha' @@ -357,7 +357,7 @@ * @return void * @access protected */ - protected function OnBeforeItemCreate(kEvent &$event) + protected function OnBeforeItemCreate(kEvent $event) { parent::OnBeforeItemCreate($event); @@ -371,7 +371,7 @@ * @return void * @access protected */ - protected function OnBeforeItemUpdate(kEvent &$event) + protected function OnBeforeItemUpdate(kEvent $event) { parent::OnBeforeItemUpdate($event); @@ -383,7 +383,7 @@ * * @param kEvent $event */ - function _checkLink(&$event) + function _checkLink($event) { if (!$this->Application->ConfigValue('ReciprocalLinkChecking')) { return ; @@ -413,7 +413,7 @@ * * @param kEvent $event */ - function OnProcessReciprocalLinks(&$event) + function OnProcessReciprocalLinks($event) { if ( !$this->Application->ConfigValue('ReciprocalLinkChecking') ) { return; @@ -481,7 +481,7 @@ * @return int * @access public */ - public function getPassedID(kEvent &$event) + public function getPassedID(kEvent $event) { $id = parent::getPassedID($event); @@ -522,7 +522,7 @@ * @return void * @access protected */ - protected function OnCloneSubItem(kEvent &$event) + protected function OnCloneSubItem(kEvent $event) { parent::OnCloneSubItem($event); @@ -553,7 +553,7 @@ * @return void * @access protected */ - protected function OnBeforeDeleteOriginal(kEvent &$event) + protected function OnBeforeDeleteOriginal(kEvent $event) { parent::OnBeforeDeleteOriginal($event); @@ -579,7 +579,7 @@ * @return void * @access protected */ - protected function OnAfterDeleteOriginal(kEvent &$event) + protected function OnAfterDeleteOriginal(kEvent $event) { parent::OnAfterDeleteOriginal($event);