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
This commit is contained in:
Ingo Schommer 2009-11-21 02:39:01 +00:00
parent 0b9f4ab533
commit 8b89a265da

View File

@ -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();
}