Permalink
Browse files

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
  • Loading branch information...
1 parent 4d127c5 commit 28ee63fed1f6d37f931bf5f5f70369b9acc38d0e @chillu chillu committed Dec 16, 2010
Showing with 1 addition and 3 deletions.
  1. +1 −3 code/LeftAndMain.php
View
4 code/LeftAndMain.php
@@ -109,8 +109,7 @@ function canView($member = null) {
*/
function init() {
parent::init();
-var_dump('init');
-var_dump($this->request);
+
SSViewer::setOption('rewriteHashlinks', false);
// set language
@@ -1003,7 +1002,6 @@ public function printable() {
* @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'))) {

0 comments on commit 28ee63f

Please sign in to comment.