CC-3153: When cancelling a show that is currently on-air, the show-instance is not removed.

-fixed
This commit is contained in:
Martin Konecny 2011-12-05 12:56:16 -05:00
parent 162f11022b
commit 73c0408315
3 changed files with 11 additions and 13 deletions

View file

@ -106,7 +106,7 @@ class Application_Model_Show {
}
//remove everything about this show.
public function deleteShow()
public function delete()
{
//usually we hide the show-instance, but in this case we are deleting the show template
//so delete all show-instances as well.