mirror of
https://github.com/ppy/osu
synced 2025-01-18 20:10:49 +00:00
Remove outdated comment
This commit is contained in:
parent
524ff41931
commit
b91bcaccba
@ -366,7 +366,7 @@ namespace osu.Game.Database
|
|||||||
|
|
||||||
public void UpdateFile(TModel model, TFileModel file, Stream contents)
|
public void UpdateFile(TModel model, TFileModel file, Stream contents)
|
||||||
{
|
{
|
||||||
using (ContextFactory.GetForWrite()) // used to share a context for full import. keep in mind this will block all writes.
|
using (ContextFactory.GetForWrite())
|
||||||
{
|
{
|
||||||
model.Files.Remove(file);
|
model.Files.Remove(file);
|
||||||
model.Files.Add(new TFileModel
|
model.Files.Add(new TFileModel
|
||||||
|
Loading…
Reference in New Issue
Block a user