Remove incorrect deletion include

This was causing deletions of scores without considering that scores are now managed by a ScoreManager (and have their own data dependencies).
This commit is contained in:
Dean Herbert 2019-05-09 15:13:35 +09:00
parent 869136b2fb
commit c8f9354327
1 changed files with 0 additions and 1 deletions

View File

@ -65,7 +65,6 @@ public bool Restore(BeatmapInfo beatmap)
protected override IQueryable<BeatmapSetInfo> AddIncludesForDeletion(IQueryable<BeatmapSetInfo> query) =>
base.AddIncludesForDeletion(query)
.Include(s => s.Metadata)
.Include(s => s.Beatmaps).ThenInclude(b => b.Scores)
.Include(s => s.Beatmaps).ThenInclude(b => b.BaseDifficulty)
.Include(s => s.Beatmaps).ThenInclude(b => b.Metadata);