Schedule->removeItems optimization fix for deleting the current playing track

This commit is contained in:
drigato 2014-11-19 17:09:54 -05:00
parent 48ae8ac69c
commit 00fbda193e

View file

@ -1119,6 +1119,7 @@ class Application_Model_Scheduler
foreach ($removedItems as $removedItem) {
$instance = $removedItem->getCcShowInstances($this->con);
$effectedInstanceIds[] = $instance->getDbId();
//check if instance is linked and if so get the schedule items
//for all linked instances so we can delete them too