diff --git a/code/LeftAndMain.php b/code/LeftAndMain.php index 89eee9e2..d17cff5c 100644 --- a/code/LeftAndMain.php +++ b/code/LeftAndMain.php @@ -38,7 +38,6 @@ class LeftAndMain extends Controller { 'index', 'ajaxupdateparent', 'ajaxupdatesort', - 'callPageMethod', 'getitem', 'getsubtree', 'myprofile', @@ -1051,17 +1050,6 @@ JS; function MceRoot() { return MCE_ROOT; } - - /** - * Use this as an action handler for custom CMS buttons. - */ - function callPageMethod($data, $form) { - $methodName = $form->buttonClicked()->extraData(); - $record = $this->currentPage(); - if(!$record) return false; - - return $record->$methodName($data, $form); - } /** * Register the given javascript file as required in the CMS.