T357: When reclassifying a show song remix, remove previous associations.

This commit is contained in:
Peter Deltchev 2015-09-07 22:32:40 -07:00
parent 46ceab2b4c
commit cd113e4d4b

View file

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