Index: branches/5.2.x/core/units/page_revisions/page_revision_eh.php =================================================================== diff -u -N -r15130 -r15137 --- branches/5.2.x/core/units/page_revisions/page_revision_eh.php (.../page_revision_eh.php) (revision 15130) +++ branches/5.2.x/core/units/page_revisions/page_revision_eh.php (.../page_revision_eh.php) (revision 15137) @@ -33,7 +33,7 @@ return $this->Application->isAdminUser; } - $perm_helper =& $this->Application->recallObject('PermissionsHelper'); + $perm_helper = $this->Application->recallObject('PermissionsHelper'); /* @var $perm_helper kPermissionsHelper */ if ( $event->Name == 'OnSave' ) { @@ -91,10 +91,10 @@ public function getPassedID(kEvent $event) { if ( $event->Special == 'current' ) { - $page =& $this->Application->recallObject('st.-virtual'); + $page = $this->Application->recallObject('st.-virtual'); /* @var $page kDBItem */ - $page_helper =& $this->Application->recallObject('PageHelper'); + $page_helper = $this->Application->recallObject('PageHelper'); /* @var $page_helper PageHelper */ $page_id = $page->GetID(); @@ -185,7 +185,7 @@ return ; } - $content =& $this->Application->recallObject('content.-item', null, Array ('skip_autoload' => true)); + $content = $this->Application->recallObject('content.-item', null, Array ('skip_autoload' => true)); /* @var $content kDBItem */ $sql = $content->GetSelectSQL() . ' @@ -216,7 +216,7 @@ $status = $object->GetDBField('Status'); if ( $status != $object->GetOriginalField('Status') && $status == STATUS_ACTIVE ) { - $page =& $this->Application->recallObject('c.revision', null, Array ('skip_autoload' => true)); + $page = $this->Application->recallObject('c.revision', null, Array ('skip_autoload' => true)); /* @var $page kDBItem */ $page->Load($object->GetDBField('PageId')); @@ -238,7 +238,7 @@ return ; } - $page_helper =& $this->Application->recallObject('PageHelper'); + $page_helper = $this->Application->recallObject('PageHelper'); /* @var $page_helper PageHelper */ $page_id = $this->Application->GetVar('m_cat_id'); @@ -287,7 +287,7 @@ $revision_id = $this->getCurrentDraftRevision($event); if ( $revision_id ) { - $temp_handler =& $this->Application->recallObject($event->getPrefixSpecial() . '_TempHandler', 'kTempTablesHandler'); + $temp_handler = $this->Application->recallObject($event->getPrefixSpecial() . '_TempHandler', 'kTempTablesHandler'); /* @var $temp_handler kTempTablesHandler */ $temp_handler->DeleteItems($event->Prefix, $event->Special, Array ($revision_id)); @@ -303,7 +303,7 @@ */ function OnPublish($event) { - $revision =& $this->Application->recallObject('page-revision.current'); + $revision = $this->Application->recallObject('page-revision.current'); /* @var $revision kDBItem */ if ( !$revision->isLoaded() || $revision->GetDBField('Status') == STATUS_ACTIVE || $revision->GetDBField('IsDraft') ) { @@ -323,7 +323,7 @@ */ function OnDecline($event) { - $revision =& $this->Application->recallObject('page-revision.current'); + $revision = $this->Application->recallObject('page-revision.current'); /* @var $revision kDBItem */ if ( !$revision->isLoaded() || $revision->GetDBField('Status') == STATUS_DISABLED || $revision->GetDBField('IsLive') || $revision->GetDBField('IsDraft') ) {