remove db logs

This commit is contained in:
hydrant
2021-05-15 10:18:38 +02:00
parent a2db770316
commit 7ad941cd91
3 changed files with 188 additions and 188 deletions

View File

@@ -55,7 +55,7 @@ namespace ReallifeGamemode.Server.Managers
return;
}
using (var dbContext = new DatabaseContext(true))
using (var dbContext = new DatabaseContext())
{
User u = leader.GetUser(dbContext);
User own = player.GetUser(dbContext);

View File

@@ -43,7 +43,7 @@ namespace ReallifeGamemode.Server.WeaponDeal
return;
}
using (var context = new DatabaseContext(true))
using (var context = new DatabaseContext())
{
FactionVehicle factionVehicle = context.FactionVehicles.Where(f => f.Model == WEAPON_DEAL_GANG_VEHICLE_HASH || f.Model == WEAPON_DEAL_STAATSFRAK_VEHICLE_HASH)
.ToList()