public function resetRedemptionsForCoupon() { Cart66Common::log('[' . basename(__FILE__) . ' - line ' . __LINE__ . "] about to reset the number of redemptions"); $coupon = explode(' (', $this->coupon); $promotion = new Cart66Promotion(); $promotion->loadByCode($coupon[0]); $promotion->resetRedemptions(); }