Skip to content

Commit

Permalink
MINOR Partially reverted debug comments from r115109
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@115110 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information
chillu committed Dec 16, 2010
1 parent 4d127c5 commit 28ee63f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions code/LeftAndMain.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ function canView($member = null) {
*/ */
function init() { function init() {
parent::init(); parent::init();
var_dump('init');
var_dump($this->request);
SSViewer::setOption('rewriteHashlinks', false); SSViewer::setOption('rewriteHashlinks', false);


// set language // set language
Expand Down Expand Up @@ -1003,7 +1002,6 @@ public function printable() {
* @return int * @return int
*/ */
public function currentPageID() { public function currentPageID() {
if(!$this->request) SS_Backtrace::backtrace();
if($this->request->getVar('ID')) { if($this->request->getVar('ID')) {
return $this->request->getVar('ID'); return $this->request->getVar('ID');
} elseif ($this->request->param('ID') && is_numeric($this->request->param('ID'))) { } elseif ($this->request->param('ID') && is_numeric($this->request->param('ID'))) {
Expand Down

0 comments on commit 28ee63f

Please sign in to comment.