4
0
mirror of https://github.com/AzuraCast/AzuraCast.git synced 2024-06-27 19:37:06 +00:00

Mark station as needing restart after playlist deletion.

This commit is contained in:
Buster Neece 2019-03-30 12:02:52 -05:00
parent 96472923d4
commit 0942f1e194
No known key found for this signature in database
GPG Key ID: 6D9E12FF03411F4E

View File

@ -402,6 +402,9 @@ class PlaylistsController
$record = $this->_getRecord($id, $station_id);
$this->em->remove($record);
$station->setNeedsRestart(true);
$this->em->persist($station);
$this->em->flush();
$this->em->refresh($station);