From 660b1a059640d7873212fb003eec80bc2b38601f Mon Sep 17 00:00:00 2001 From: drigato Date: Thu, 21 Aug 2014 09:47:54 -0400 Subject: [PATCH] Removed old comments --- .../application/services/SchedulerService.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/airtime_mvc/application/services/SchedulerService.php b/airtime_mvc/application/services/SchedulerService.php index 94d81643a..64f8833a2 100644 --- a/airtime_mvc/application/services/SchedulerService.php +++ b/airtime_mvc/application/services/SchedulerService.php @@ -182,15 +182,7 @@ class Application_Service_SchedulerService */ public static function fillNewLinkedInstances($ccShow, $instanceIdsToFill) { - /* In order to get the linked show's schedule we need to retrieve - * every instance of the show, even if they are in the past in case - * no new instances were generated past the 'shows_populated_until' - * date in cc_pref - CC-5898 - * - * We retrieve the instances ids sorted by desc start date to ensure - * we always use the most up to date schedule when filling the new - * show instances with content - */ + //TODO can we remove the code until line 216 ?? $instanceIds = $ccShow->getInstanceIdsSortedByMostRecentStartTime(); if (count($instanceIds) == 0) { @@ -221,7 +213,7 @@ class Application_Service_SchedulerService //The linked shows are all empty, so there's nothing for us to do. //(No content should be propagated to the other show instances... return; - } + } $linkedShowSchedule = self::getLinkedShowSchedule($ccShow->getDbId(), $instanceIdsToFill);