fix modules cs

This commit is contained in:
Manuel Raynaud
2014-03-11 15:43:48 +01:00
parent 33f2b56080
commit 4391e6334b
4 changed files with 7 additions and 11 deletions

View File

@@ -183,7 +183,6 @@ class AddressController extends BaseFrontController
\Thelia\Log\Tlog::getInstance()->error(sprintf('Error during address deletion : %s', $error_message));
// If Ajax Request
if ($this->getRequest()->isXmlHttpRequest()) {
if ($error_message) {

View File

@@ -170,5 +170,4 @@ class CartController extends BaseFrontController
}
}
}

View File

@@ -25,9 +25,6 @@ namespace Front\Controller;
use Propel\Runtime\Exception\PropelException;
use Thelia\Cart\CartTrait;
use Thelia\Controller\Front\BaseFrontController;
use Thelia\Core\Event\PdfEvent;
use Thelia\Core\HttpFoundation\Response;
use Thelia\Core\Template\TemplateHelper;
use Thelia\Core\Translation\Translator;
use Thelia\Exception\TheliaProcessException;
use Thelia\Form\Exception\FormValidationException;
@@ -263,6 +260,7 @@ class OrderController extends BaseFrontController
{
/* check customer */
$this->checkAuth();
return $this->generateOrderPdf($order_id, ConfigQuery::read('pdf_invoice_file', 'invoice'));
}
@@ -270,6 +268,7 @@ class OrderController extends BaseFrontController
{
/* check customer */
$this->checkAuth();
return $this->generateOrderPdf($order_id, ConfigQuery::read('pdf_delivery_file', 'delivery'));
}
@@ -286,5 +285,4 @@ class OrderController extends BaseFrontController
return $this->render('ajax/order-delivery-module-list', $args);
}
}