mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
update for database provider specific migrations
fix issues with live radar
This commit is contained in:
@ -47,10 +47,8 @@ namespace IW4MAdmin.Plugins.Stats.Helpers
|
||||
|
||||
private void SetupServerIds()
|
||||
{
|
||||
using (var ctx = _contextFactory.CreateContext(enableTracking: false))
|
||||
{
|
||||
serverModels = ctx.Set<EFServer>().ToList();
|
||||
}
|
||||
using var ctx = _contextFactory.CreateContext(enableTracking: false);
|
||||
serverModels = ctx.Set<EFServer>().ToList();
|
||||
}
|
||||
|
||||
public Expression<Func<EFRating, bool>> GetRankingFunc(long? serverId = null)
|
||||
|
Reference in New Issue
Block a user