Index: branches/5.2.x/core/units/content/content_eh.php =================================================================== diff -u -N -r15051 -r15130 --- branches/5.2.x/core/units/content/content_eh.php (.../content_eh.php) (revision 15051) +++ branches/5.2.x/core/units/content/content_eh.php (.../content_eh.php) (revision 15130) @@ -1,6 +1,6 @@ Application->recallObject('PermissionsHelper'); /* @var $perm_helper kPermissionsHelper */ @@ -42,7 +42,7 @@ * * @param kEvent $event */ - function OnSaveContentBlock(&$event) + function OnSaveContentBlock($event) { if ($this->Application->CheckPermission('SYSTEM_ACCESS.READONLY', 1)) { $event->status = kEvent::erFAIL; @@ -61,7 +61,7 @@ * * @param kEvent $event */ - function OnAutoSave(&$event) + function OnAutoSave($event) { $event->status = kEvent::erSTOP; @@ -79,7 +79,7 @@ * @param bool $is_draft * @return string */ - function saveContentBlock(&$event, $is_draft) + function saveContentBlock($event, $is_draft) { $object =& $event->getObject( Array('skip_autoload' => true) ); /* @var $object kDBItem */ @@ -122,7 +122,7 @@ * * @param kEvent $event */ - function OnGetAutoSaveTime(&$event) + function OnGetAutoSaveTime($event) { $event->status = kEvent::erSTOP; @@ -160,7 +160,7 @@ $object->Load($load_keys); } - function getContentBlockAndRevision(&$event) + function getContentBlockAndRevision($event) { $object =& $event->getObject( Array('skip_autoload' => true) ); /* @var $object kDBItem */