//remove debug

This commit is contained in:
vAugagneur committed 2012-12-02 20:05:39 +01:00
1 parent 2d30a966c3
commit 12cb5316ee
2 files changed
-2

No files matched your search

-1
View File
@@ -150,7 +150,6 @@ abstract class ControllerCore
$this->init(); $this->init();
if ($this->checkAccess()) if ($this->checkAccess())
{ {
// setMedia MUST be called before postProcess // setMedia MUST be called before postProcess
if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))
$this->setMedia(); $this->setMedia();
-1
View File
@@ -53,7 +53,6 @@ class CategoryControllerCore extends FrontController
public function canonicalRedirection($canonicalURL = '') public function canonicalRedirection($canonicalURL = '')
{ {
return ;
if (!Validate::isLoadedObject($this->category) || !$this->category->inShop() || !$this->category->isAssociatedToShop()) if (!Validate::isLoadedObject($this->category) || !$this->category->inShop() || !$this->category->isAssociatedToShop())
{ {
$this->redirect_after = '404'; $this->redirect_after = '404';