From 438200425a31200b9946c758f414fe7aede863a5 Mon Sep 17 00:00:00 2001 From: denise Date: Tue, 12 Mar 2013 11:33:32 -0400 Subject: [PATCH] CC-4961: Show linking --- .../services/ShowInstanceService.php | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/airtime_mvc/application/services/ShowInstanceService.php b/airtime_mvc/application/services/ShowInstanceService.php index b23c3e32a..fcf9a6cfa 100644 --- a/airtime_mvc/application/services/ShowInstanceService.php +++ b/airtime_mvc/application/services/ShowInstanceService.php @@ -1,16 +1,16 @@ -service_show = new Application_Service_ShowService(); @@ -31,19 +31,19 @@ class Application_Service_ShowInstanceService foreach ($showDays as $day) { switch ($day["repeat_type"]) { - case self::NO_REPEAT: + case NO_REPEAT: $this->createNonRepeatingShowInstance($day, $populateUntil, $isRebroadcast); break; - case self::REPEAT_WEEKLY: + case REPEAT_WEEKLY: $this->createWeeklyRepeatingShowInstances($day, $populateUntil, "P7D", $isRebroadcast); break; - case self::REPEAT_BI_WEEKLY: + case REPEAT_BI_WEEKLY: $this->createWeeklyRepeatingShowInstances($day, $populateUntil, "P14D", $isRebroadcast); break; - case self::REPEAT_MONTHLY_MONTHLY: + case REPEAT_MONTHLY_MONTHLY: $this->createMonthlyRepeatingShowInstances($day, $populateUntil, "P1M", $isRebroadcast); break; - case self::REPEAT_MONTHLY_WEEKLY: + case REPEAT_MONTHLY_WEEKLY: // do something here break; }