mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 04:58:01 +01:00
Merge rPFcd113e4d4bd3: T357: When reclassifying a show song remix, remove previous associations.
This commit is contained in:
parent
b846475f4f
commit
e4ae56885f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue