예제 #1
0
파일: Order.php 프로젝트: kirkbauer2/kirkxc
 /**
  * Remove temporary order
  *
  * @param \XLite\Model\Order $order Order
  *
  * @return void
  */
 protected function removeTemporaryOrder(\XLite\Model\Order $order)
 {
     foreach ($order->getItems() as $item) {
         foreach ($item->getPinCodes() as $pin) {
             \XLite\Core\Database::getEM()->remove($pin);
         }
     }
     parent::removeTemporaryOrder($order);
 }