Remove unnecessary comment

This commit is contained in:
Dan Balasescu
2018-09-26 18:41:55 +09:00
committed by GitHub
parent ed0ea3ad41
commit e71e871d1f

View File

@ -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))