Remove misleading comments

This commit is contained in:
smoogipoo 2017-12-07 12:23:53 +09:00
parent feef4b1890
commit f1dbcc4f1a

View File

@ -548,12 +548,10 @@ namespace osu.Game.Beatmaps
public void UpdateContent(BeatmapInfo beatmapInfo, Stream newData)
{
// let's only allow one concurrent update at a time for now.
var context = createContext();
using (var transaction = context.BeginTransaction())
{
// create local stores so we can isolate and thread safely, and share a context/transaction.
var setInfo = beatmapInfo.BeatmapSet;
var existingSetFileInfo = setInfo.Files.First(f => f.FileInfo.Hash == beatmapInfo.Hash);
var existingFileInfo = existingSetFileInfo.FileInfo;