diff --git a/ajax/create.php b/ajax/create.php index 092c3b245b0204edf0c44024a124dce740af860b..f388f32d29424c1adebf4c7ee9e92919942db3ac 100644 --- a/ajax/create.php +++ b/ajax/create.php @@ -36,13 +36,6 @@ function ($attributes) { for ($i = 0; $i < $amount; $i++) { $couponCodes[] = Handler::createCouponCode($discountIds, $attributes); } - - // @todo TEST-CODE - REMOVE LATER! - /** @var \QUI\ERP\Coupons\CouponCode $Code */ - foreach ($couponCodes as $Code) { - $Code->redeem(); - } - //********************************************* } catch (\QUI\ERP\Coupons\CouponCodeException $Exception) { QUI::getMessagesHandler()->addError( QUI::getLocale()->get(