Fix Coupon/Condition refactor

This commit is contained in:
gmorel
2013-11-19 13:15:23 +01:00
parent 1b108b7953
commit 968bddbcf9
9 changed files with 251 additions and 39 deletions

View File

@@ -106,7 +106,7 @@ class Coupon extends BaseI18nLoop implements PropelSearchLoopInterface
/** @var CouponInterface $couponManager */
$couponManager = $this->container->get($coupon->getType());
$couponManager->set(
$this->container->get('thelia.adapter'),
$this->container->get('thelia.facade'),
$coupon->getCode(),
$coupon->getTitle(),
$coupon->getShortDescription(),