mirror of https://github.com/ppy/osu
Remove unnecessary second call to AutoTransactionsEnabled
This commit is contained in:
parent
36af0dc809
commit
12900a8b15
|
@ -184,8 +184,6 @@ public BeatmapSetInfo Import(ArchiveReader archiveReader)
|
||||||
{
|
{
|
||||||
var context = importContext.Value;
|
var context = importContext.Value;
|
||||||
|
|
||||||
context.Database.AutoTransactionsEnabled = false;
|
|
||||||
|
|
||||||
using (var transaction = context.Database.BeginTransaction())
|
using (var transaction = context.Database.BeginTransaction())
|
||||||
{
|
{
|
||||||
// create local stores so we can isolate and thread safely, and share a context/transaction.
|
// create local stores so we can isolate and thread safely, and share a context/transaction.
|
||||||
|
|
Loading…
Reference in New Issue