From 8b89a265da7500a18443cea401dda5a183d3b937 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sat, 21 Nov 2009 02:39:01 +0000 Subject: [PATCH] MINOR Removed defunct param parsing in LeftAndMain->show(), wasn't working since we switched to RequestHandler in 2.2 git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92670 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/LeftAndMain.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/code/LeftAndMain.php b/code/LeftAndMain.php index 80f43407..a308ee66 100644 --- a/code/LeftAndMain.php +++ b/code/LeftAndMain.php @@ -339,15 +339,10 @@ class LeftAndMain extends Controller { return $title; } - public function show($params) { - if($params['ID']) $this->setCurrentPageID($params['ID']); - if(isset($params['OtherID'])) - Session::set('currentMember', $params['OtherID']); - + public function show($request) { if(Director::is_ajax()) { SSViewer::setOption('rewriteHashlinks', false); return $this->EditForm()->formHtmlContent(); - } else { return array(); }