mirror of
https://github.com/AzuraCast/AzuraCast.git
synced 2024-06-30 04:47:06 +00:00
Mark station as needing restart after playlist deletion.
This commit is contained in:
parent
96472923d4
commit
0942f1e194
|
@ -402,6 +402,9 @@ class PlaylistsController
|
||||||
|
|
||||||
$record = $this->_getRecord($id, $station_id);
|
$record = $this->_getRecord($id, $station_id);
|
||||||
$this->em->remove($record);
|
$this->em->remove($record);
|
||||||
|
|
||||||
|
$station->setNeedsRestart(true);
|
||||||
|
$this->em->persist($station);
|
||||||
$this->em->flush();
|
$this->em->flush();
|
||||||
|
|
||||||
$this->em->refresh($station);
|
$this->em->refresh($station);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user