mirror of
https://github.com/ppy/osu.git
synced 2026-05-24 07:14:10 +08:00
Remove unnecessary comment
This commit is contained in:
committed by
GitHub
Unverified
parent
ed0ea3ad41
commit
e71e871d1f
@@ -290,7 +290,6 @@ namespace osu.Game.Database
|
||||
// re-fetch the model on the import context.
|
||||
var foundModel = queryModel().Include(s => s.Files).ThenInclude(f => f.FileInfo).FirstOrDefault(s => s.ID == item.ID);
|
||||
|
||||
// Test for null since FirstOrDefault will return null if nothing is found
|
||||
if (foundModel == null || foundModel.DeletePending) return false;
|
||||
|
||||
if (ModelStore.Delete(foundModel))
|
||||
|
||||
Reference in New Issue
Block a user