Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MINOR Removed defunct param parsing in LeftAndMain->show(), wasn't wo…

…rking 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
  • Loading branch information...
commit 8b89a265da7500a18443cea401dda5a183d3b937 1 parent 0b9f4ab
@chillu chillu authored
Showing with 1 addition and 6 deletions.
  1. +1 −6 code/LeftAndMain.php
View
7 code/LeftAndMain.php
@@ -339,15 +339,10 @@ static function menu_title_for_class($class) {
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();
}
Please sign in to comment.
Something went wrong with that request. Please try again.