From 22595c1098112233d88685d476a3fc0b947bc382 Mon Sep 17 00:00:00 2001 From: drigato Date: Wed, 4 Dec 2013 11:36:38 -0500 Subject: [PATCH] CC-5596: Can Recreate an Instance in a Location that has been modified Fixed by updating the modified instance's start/end time and leaving as a placeholder for future show updates --- airtime_mvc/application/services/ShowService.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/airtime_mvc/application/services/ShowService.php b/airtime_mvc/application/services/ShowService.php index b8a89e18f..992ddd0aa 100644 --- a/airtime_mvc/application/services/ShowService.php +++ b/airtime_mvc/application/services/ShowService.php @@ -1030,11 +1030,6 @@ SQL; if ($this->isUpdate) { if ($this->hasInstance($utcStartDateTime)) { $ccShowInstance = $this->getInstance($utcStartDateTime); - // don't update instances that have been edited out of the repeating sequence - if ($ccShowInstance->getDbModifiedInstance() || - in_array($ccShowInstance->getDbId(), $this->ccShow->getEditedRepeatingInstanceIds())) { - continue; - } $newInstance = false; $updateScheduleStatus = true; } else { @@ -1128,11 +1123,6 @@ SQL; */ if ($this->isUpdate && $this->hasInstance($utcStartDateTime)) { $ccShowInstance = $this->getInstance($utcStartDateTime); - // don't update instances that have been edited out of the repeating sequence - if ($ccShowInstance->getDbModifiedInstance() || - in_array($ccShowInstance->getDbId(), $this->ccShow->getEditedRepeatingInstanceIds())) { - continue; - } $newInstance = false; $updateScheduleStatus = true; } else {