1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 21:02:55 +08:00

Remove unnecessary second call to AutoTransactionsEnabled

This commit is contained in:
Dean Herbert 2017-10-19 15:53:11 +09:00
parent 36af0dc809
commit 12900a8b15

View File

@ -184,8 +184,6 @@ namespace osu.Game.Beatmaps
{
var context = importContext.Value;
context.Database.AutoTransactionsEnabled = false;
using (var transaction = context.Database.BeginTransaction())
{
// create local stores so we can isolate and thread safely, and share a context/transaction.