mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-02-16 18:14:23 +01:00
T357: When reclassifying a show song remix, remove previous associations.
This commit is contained in:
parent
46ceab2b4c
commit
cd113e4d4b
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class ClassifyMLPMA extends Command {
|
||||||
$track->save();
|
$track->save();
|
||||||
|
|
||||||
if (sizeof($linkedSongIds) > 0) {
|
if (sizeof($linkedSongIds) > 0) {
|
||||||
$track->showSongs()->attach($linkedSongIds);
|
$track->showSongs()->sync($linkedSongIds);
|
||||||
}
|
}
|
||||||
|
|
||||||
echo PHP_EOL;
|
echo PHP_EOL;
|
||||||
|
|
Loading…
Reference in a new issue