mirror of https://github.com/ppy/osu
Cascade delete metadata when beatmaps are deleted
This commit is contained in:
parent
34aa1bf21d
commit
e12025dd48
|
@ -121,6 +121,8 @@ private void cleanupPendingDeletions()
|
|||
foreach (var score in beatmap.Scores)
|
||||
realm.Remove(score);
|
||||
|
||||
realm.Remove(beatmap.Metadata);
|
||||
|
||||
realm.Remove(beatmap);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue