From 22cd47cc845e1701f16cf69ad9794f752345f025 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 9 Mar 2012 23:07:44 +0100 Subject: [PATCH] MINOR Removed unused CMSMain->sendFormToBrowser() --- code/controllers/CMSMain.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/code/controllers/CMSMain.php b/code/controllers/CMSMain.php index dd6661f7..381703d6 100644 --- a/code/controllers/CMSMain.php +++ b/code/controllers/CMSMain.php @@ -868,19 +868,6 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr return $form->forTemplate(); } - function sendFormToBrowser($templateData) { - if(Director::is_ajax()) { - SSViewer::setOption('rewriteHashlinks', false); - $result = $this->customise($templateData)->renderWith($this->class . '_right'); - $parts = split(']*>', $result); - return $parts[sizeof($parts)-2]; - } else { - return array( - "Right" => $this->customise($templateData)->renderWith($this->class . '_right'), - ); - } - } - /** * Batch Actions Handler */