Optimisation : 60*60*24 -> 86400

This commit is contained in:
Franck Allimant
2014-05-18 20:21:23 +02:00
parent ab060486d0
commit 12fb52dc88

View File

@@ -69,7 +69,7 @@ class OrderCoupon extends BaseLoop implements PropelSearchLoopInterface
if (null !== $order = OrderQuery::create()->findPk($this->getOrder())) {
$oneDayInSeconds = 60*60*24;
$oneDayInSeconds = 86400;
/** @var \Thelia\Model\OrderCoupon $orderCoupon */
foreach ($loopResult->getResultDataCollection() as $orderCoupon) {