mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 13:07:59 +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();
|
||||
|
||||
if (sizeof($linkedSongIds) > 0) {
|
||||
$track->showSongs()->attach($linkedSongIds);
|
||||
$track->showSongs()->sync($linkedSongIds);
|
||||
}
|
||||
|
||||
echo PHP_EOL;
|
||||
|
|
Loading…
Reference in a new issue