From 21f2b876069bd76d9eb63130c3e8360644d159b4 Mon Sep 17 00:00:00 2001 From: Alexander Schulz Date: Fri, 12 Jan 2024 13:51:47 +0100 Subject: [PATCH] fixes #217 --- XenAdmin/MainWindow.cs | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/XenAdmin/MainWindow.cs b/XenAdmin/MainWindow.cs index 47f9ff70a..89b2781c2 100644 --- a/XenAdmin/MainWindow.cs +++ b/XenAdmin/MainWindow.cs @@ -926,39 +926,6 @@ namespace XenAdmin if (HelpersGUI.iSCSIisUsed()) HelpersGUI.PerformIQNCheck(); - if (!Program.RunInAutomatedTestMode && !Helpers.CloudOrGreater(coordinator)) - { - Program.BeginInvoke(Program.MainWindow, () => - { - if (Properties.Settings.Default.SeenAllowCfuUpdatesDialog) - return; - - Properties.Settings.Default.SeenAllowCfuUpdatesDialog = true; - Settings.TrySaveSettings(); - - bool launch; - using (var dlg = new NoIconDialog(string.Format(Messages.ALLOWED_UPDATES_DIALOG_MESSAGE_CFU, BrandManager.BrandConsole, BrandManager.ProductVersion821), - ThreeButtonDialog.ButtonYes, ThreeButtonDialog.ButtonNo) - { - HelpButton = true, - HelpNameSetter = "AllowUpdatesDialog", - ShowCheckbox = false - }) - { - launch = dlg.ShowDialog(this) == DialogResult.Yes; - } - - //if (launch) - //{ - // using (var dialog = new ConfigUpdatesDialog()) - // { - // dialog.SelectLcmTab(); - // dialog.ShowDialog(this); - // } - //} - }); - } - RequestRefreshTreeView(); CheckTlsVerification(connection); }