CC-4961: Show linking

-moved show deletion into show service
This commit is contained in:
denise 2013-04-03 11:46:46 -04:00
parent ab10ae68a2
commit 81dbb17922
4 changed files with 179 additions and 39 deletions

View file

@ -342,6 +342,7 @@ class Application_Service_ShowFormService
SELECT starts, ends FROM cc_show_instances
WHERE ends > now() at time zone 'UTC'
AND show_id = :showId
AND modified_instance = FALSE
ORDER BY starts
LIMIT 1
SQL;