From 49d0e6b97e4dd5194246e7b4e9fe7d2823a7261f Mon Sep 17 00:00:00 2001 From: Korina Cordero Date: Thu, 6 Feb 2020 05:43:15 +0000 Subject: [PATCH] Resolve missed merge conflict. #329 --- src/Controller/RAPIController.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Controller/RAPIController.php b/src/Controller/RAPIController.php index 65352647..e583de75 100644 --- a/src/Controller/RAPIController.php +++ b/src/Controller/RAPIController.php @@ -651,16 +651,9 @@ class RAPIController extends Controller // TODO: this has to move to JOHandler $this->updateVehicleBattery($jo); -<<<<<<< HEAD - // create warranty - if ($jo->getServiceType() == ServiceType::BATTERY_REPLACEMENT_NEW) -======= - $em->flush(); - // create warranty if (($jo->getServiceType() == ServiceType::BATTERY_REPLACEMENT_NEW) || ($jo->getServiceType() == CMBServiceType::BATTERY_REPLACEMENT_NEW)) ->>>>>>> 3e2d0db5cd7c0e67f7c41c61f98761d38e424adc { $serial = null; $warranty_class = $jo->getWarrantyClass();