Simplified /cleaned some code parts
This commit is contained in:
@@ -19,7 +19,6 @@ namespace reallife_gamemode.Server.Extensions
|
||||
{
|
||||
public static UserBankAccount GetUserBankAccount(this User user, DatabaseContext context = null)
|
||||
{
|
||||
using (DatabaseContext dbContext = new DatabaseContext())
|
||||
if (context == null)
|
||||
{
|
||||
using (context = new DatabaseContext())
|
||||
|
||||
Reference in New Issue
Block a user