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; }