This commit is contained in:
Manuel Raynaud
2014-04-11 09:36:43 +02:00
parent 441ac3dc2a
commit b60abb206b
8 changed files with 143 additions and 146 deletions

View File

@@ -30,7 +30,6 @@ use Thelia\Core\Security\Resource\AdminResources;
use Thelia\Form\Cache\CacheFlushForm; use Thelia\Form\Cache\CacheFlushForm;
use Thelia\Form\Exception\FormValidationException; use Thelia\Form\Exception\FormValidationException;
/** /**
* Class CacheController * Class CacheController
* @package Thelia\Controller\Admin * @package Thelia\Controller\Admin

View File

@@ -25,7 +25,6 @@ namespace Thelia\Form\Cache;
use Thelia\Form\BaseForm; use Thelia\Form\BaseForm;
/** /**
* Class CacheFlushForm * Class CacheFlushForm
* @package Thelia\Form\Cache * @package Thelia\Form\Cache

View File

@@ -129,7 +129,8 @@ class Tlog Implements LoggerInterface
* *
* @return Tlog a new Tlog instance. * @return Tlog a new Tlog instance.
*/ */
public static function getNewInstance() { public static function getNewInstance()
{
$instance = new Tlog(); $instance = new Tlog();
$instance->init(); $instance->init();

View File

@@ -40,7 +40,7 @@ class Order extends BaseOrder
public function postSave(ConnectionInterface $con = null) public function postSave(ConnectionInterface $con = null)
{ {
if($this->isPaid() && null === $this->getInvoiceDate()) { if ($this->isPaid() && null === $this->getInvoiceDate()) {
$this $this
->setInvoiceDate(time()) ->setInvoiceDate(time())
->save($con); ->save($con);

View File

@@ -27,7 +27,6 @@ use Symfony\Component\Routing\Router;
use Thelia\Core\HttpFoundation\Response; use Thelia\Core\HttpFoundation\Response;
use Thelia\Core\Template\ParserInterface; use Thelia\Core\Template\ParserInterface;
use Thelia\Core\Template\TemplateHelper; use Thelia\Core\Template\TemplateHelper;
use Thelia\Exception\TheliaProcessException;
use Thelia\Model\Order; use Thelia\Model\Order;
use Thelia\Tools\URL; use Thelia\Tools\URL;
@@ -57,7 +56,6 @@ abstract class AbstractPaymentModule extends BaseModule implements PaymentModule
*/ */
abstract public function isValidPayment(); abstract public function isValidPayment();
/** /**
* Render the payment gateway template. The module should provide the gateway URL and the form fields names and values. * Render the payment gateway template. The module should provide the gateway URL and the form fields names and values.
* *