From 1e4afa08e53b964abbb65ac4aadf0850cccf1e78 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 2 Sep 2023 21:52:21 +0200 Subject: [PATCH] refactor: remove unneeded code in configuration handling MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/utils/Configuration.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/utils/Configuration.ts b/src/utils/Configuration.ts index 57e29436..190a31a3 100644 --- a/src/utils/Configuration.ts +++ b/src/utils/Configuration.ts @@ -53,8 +53,6 @@ export class Configuration { [ConfigurationSection.uiServer, Configuration.buildUIServerSection()], ]); - private static warnDeprecatedConfigurationKeys = false; - private static configurationChangeCallback?: () => Promise; private constructor() { @@ -294,9 +292,6 @@ export class Configuration { }; private static checkDeprecatedConfigurationKeys() { - if (Configuration.warnDeprecatedConfigurationKeys) { - return; - } // connection timeout Configuration.warnDeprecatedConfigurationKey( 'autoReconnectTimeout', @@ -471,7 +466,6 @@ export class Configuration { )}`, ); } - Configuration.warnDeprecatedConfigurationKeys = true; } private static warnDeprecatedConfigurationKey( -- 2.34.1