mirror of
https://github.com/AzuraCast/AzuraCast.git
synced 2024-06-14 13:16:37 +00:00
Remove type in yet another place.
This commit is contained in:
parent
7e1ace4e15
commit
b8f384782f
|
@ -162,8 +162,7 @@ class ScheduleManager
|
|||
// Add/Remove all differential records.
|
||||
Debug::startTimer('Sync DB Records');
|
||||
|
||||
$em->createQuery('DELETE FROM Entity\Schedule s WHERE s.type = :type AND s.station_id NOT IN (:station_ids)')
|
||||
->setParameter('type', 'station')
|
||||
$em->createQuery('DELETE FROM Entity\Schedule s WHERE s.station_id NOT IN (:station_ids)')
|
||||
->setParameter('station_ids', array_keys($schedule_records))
|
||||
->execute();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user