mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
0b9f4ab533
commit
8b89a265da
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user