Merge pull request #1169 from GaborApatiNagy/master_batch

CP-18925: Hide batch hotfixing option in XenCenter
This commit is contained in:
Mihaela Stoica 2016-09-16 14:19:50 +01:00 committed by GitHub
commit 90cdd85ad7

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 = ConnectionsManager.XenConnectionsCopy.Any(c => c != null && c.Cache.Hosts.Any(h => !Host.RestrictBatchHotfixApply(h)));
bool autoUpdatePossible = false; //temporarily disabled ConnectionsManager.XenConnectionsCopy.Any(c => c != null && c.Cache.Hosts.Any(h => !Host.RestrictBatchHotfixApply(h)));
labelWithAutomatic.Visible = automaticOptionLabel.Visible = AutomaticRadioButton.Visible = autoUpdatePossible;
labelWithoutAutomatic.Visible = !autoUpdatePossible;