4
0
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:
Buster Neece 2014-08-17 23:11:13 -05:00
parent 7e1ace4e15
commit b8f384782f

View File

@ -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();