Add check for deleted instance to AutoPlaylist
When building list of instances with autoplaylists, filter out those where modified_instance is true.
This commit is contained in:
parent
f809c3a8ff
commit
2bed9d99ac
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ class AutoPlaylistManager {
|
|||
$future->add(new DateInterval('PT1H'));
|
||||
|
||||
return CcShowInstancesQuery::create()
|
||||
->filterByDbModifiedInstance(false)
|
||||
->filterByDbStarts($now,Criteria::GREATER_THAN)
|
||||
->filterByDbStarts($future,Criteria::LESS_THAN)
|
||||
->useCcShowQuery('a', 'left join')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue