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
1 changed files with 0 additions and 2 deletions

View File

@ -184,8 +184,6 @@ public BeatmapSetInfo Import(ArchiveReader archiveReader)
{
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.