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

This commit is contained in:
Kelvin Zhang 2015-09-10 12:51:26 +01:00
parent b846475f4f
commit e4ae56885f

View file

@ -116,7 +116,7 @@ class ClassifyMLPMA extends Command
$track->save();
if (sizeof($linkedSongIds) > 0) {
$track->showSongs()->attach($linkedSongIds);
$track->showSongs()->sync($linkedSongIds);
}
echo PHP_EOL;