Created empty showInstance service.

Split populateShowUntil into 2 new functions: getPopulateDateUntil, and getShowDays
This commit is contained in:
denise 2013-02-26 13:21:39 -05:00
parent d497cfa857
commit c29e11fa0f
3 changed files with 44 additions and 1 deletions

View file

@ -171,6 +171,7 @@ class Application_Service_ScheduleService
if ($isAdminOrPM) {
$service_show = new Application_Service_ShowService();
$service_showInstances = new Application_Service_ShowInstanceService();
//create ccShow
$ccShow = new CcShow();
@ -187,7 +188,9 @@ class Application_Service_ScheduleService
//create ccShowHosts
$service_show->createShowHosts($showData, $showId);
//populate ccShowInstances
$populateShowsUntil = $service_show->getPopulateShowUntilDateTIme();
//create ccShowInstances
$service_showInstances->createShowInstances($showId, $populateShowsUntil);
}
}