mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
MINOR Partially reverted debug comments from r115109
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@115110 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
4d127c5976
commit
28ee63fed1
@ -109,8 +109,7 @@ class LeftAndMain extends Controller {
|
||||
*/
|
||||
function init() {
|
||||
parent::init();
|
||||
var_dump('init');
|
||||
var_dump($this->request);
|
||||
|
||||
SSViewer::setOption('rewriteHashlinks', false);
|
||||
|
||||
// set language
|
||||
@ -1003,7 +1002,6 @@ var_dump($this->request);
|
||||
* @return int
|
||||
*/
|
||||
public function currentPageID() {
|
||||
if(!$this->request) SS_Backtrace::backtrace();
|
||||
if($this->request->getVar('ID')) {
|
||||
return $this->request->getVar('ID');
|
||||
} elseif ($this->request->param('ID') && is_numeric($this->request->param('ID'))) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user