From 61ff54ba441849b5b7879006200eca3a04cb3c6d Mon Sep 17 00:00:00 2001 From: Danilo Del Busso Date: Wed, 12 Apr 2023 08:43:50 +0100 Subject: [PATCH] Remove unused calls Signed-off-by: Danilo Del Busso --- XenAdmin/Core/Registry.cs | 2 -- XenAdmin/WinformsXenAdminConfigProvider.cs | 5 ----- XenModel/XenAdminConfigManager.cs | 1 - 3 files changed, 8 deletions(-) diff --git a/XenAdmin/Core/Registry.cs b/XenAdmin/Core/Registry.cs index 3044c0de6..1b5ef9e29 100644 --- a/XenAdmin/Core/Registry.cs +++ b/XenAdmin/Core/Registry.cs @@ -156,8 +156,6 @@ namespace XenAdmin.Core public static string AdditionalFeatures => ReadInstalledKey(ADDITIONAL_FEATURES, RegistryView.Registry32); - public static string AuthTokenName => INTERNAL_STAGE_AUTH_TOKEN; - public static string GetCustomUpdatesXmlLocation() { return ReadInstalledKey(CUSTOM_UPDATES_XML_LOCATION); diff --git a/XenAdmin/WinformsXenAdminConfigProvider.cs b/XenAdmin/WinformsXenAdminConfigProvider.cs index 7e14d3bad..1a061746c 100644 --- a/XenAdmin/WinformsXenAdminConfigProvider.cs +++ b/XenAdmin/WinformsXenAdminConfigProvider.cs @@ -232,10 +232,5 @@ namespace XenAdmin { return Registry.GetInternalStageAuthToken(); } - - public string GetInternalStageAuthTokenName() - { - return Registry.AuthTokenName; - } } } diff --git a/XenModel/XenAdminConfigManager.cs b/XenModel/XenAdminConfigManager.cs index 682770e54..48ee4d9a0 100644 --- a/XenModel/XenAdminConfigManager.cs +++ b/XenModel/XenAdminConfigManager.cs @@ -64,6 +64,5 @@ namespace XenAdmin string GetXenCenterMetadata(); string GetCustomUpdatesXmlLocation(); string GetInternalStageAuthToken(); - string GetInternalStageAuthTokenName(); } }