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:
parent
36af0dc809
commit
12900a8b15
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user