Revert "CP-18925: Hide batch hotfixing option in XenCenter"

This commit is contained in:
Gabor Apati-Nagy 2016-09-20 15:00:06 +01:00 committed by GitHub
parent a04e8dbccf
commit b09de72f83

View File

@ -149,7 +149,7 @@ namespace XenAdmin.Wizards.PatchingWizard
if (direction == PageLoadedDirection.Forward)
{
//if any connected host is licensed for automatic updating
bool autoUpdatePossible = false; //temporarily disabled ConnectionsManager.XenConnectionsCopy.Any(c => c != null && c.Cache.Hosts.Any(h => !Host.RestrictBatchHotfixApply(h)));
bool autoUpdatePossible = ConnectionsManager.XenConnectionsCopy.Any(c => c != null && c.Cache.Hosts.Any(h => !Host.RestrictBatchHotfixApply(h)));
labelWithAutomatic.Visible = automaticOptionLabel.Visible = AutomaticRadioButton.Visible = autoUpdatePossible;
labelWithoutAutomatic.Visible = !autoUpdatePossible;