Remove unused variables (#5669)

This commit is contained in:
Nicolas Dorier
2024-01-18 09:47:39 +09:00
committed by GitHub
parent dd7ab2f647
commit 376067324b
39 changed files with 78 additions and 126 deletions

View File

@@ -172,7 +172,6 @@ namespace BTCPayServer.Hosting
if (await otherContext.Settings.FirstOrDefaultAsync() == null)
return;
{
var postgres = new NpgsqlConnectionStringBuilder(p);
using var postgresContext = new ApplicationDbContext(new DbContextOptionsBuilder<ApplicationDbContext>().UseNpgsql(p, o =>
{
o.CommandTimeout(60 * 60 * 10);