Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Commit bd7225c

Browse files
committed
XSI-1433: Removed DMC deprecation warning.
Signed-off-by: Konstantina Chremmou <[email protected]>
1 parent f7abe6a commit bd7225c

File tree

3 files changed

+1
-29
lines changed

3 files changed

+1
-29
lines changed

XenAdmin/TabPages/BallooningPage.cs

+1-17
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ private void Rebuild()
391391
pageContainerPanel.ResumeLayout();
392392
ReLayout();
393393

394-
SetupDeprecationBanner();
394+
Banner.Visible = false;
395395
}
396396

397397
private void ReLayout()
@@ -453,22 +453,6 @@ private void SetRowWidth(Control row)
453453
{
454454
row.Width = pageContainerPanel.Width - pageContainerPanel.Padding.Left - 25; // It won't drop below row.MinimumSize.Width though
455455
}
456-
457-
private void SetupDeprecationBanner()
458-
{
459-
if (Helpers.QuebecOrGreater(xenObject.Connection) &&
460-
vms.Any(vm => vm.has_ballooning() && vm.memory_dynamic_min != vm.memory_static_max))
461-
{
462-
Banner.AppliesToVersion = string.Format(Messages.XENSERVER_8_1, BrandManager.ProductVersion81);
463-
Banner.BannerType = DeprecationBanner.Type.Deprecation;
464-
Banner.FeatureName = Messages.DMC;
465-
Banner.Visible = !HiddenFeatures.LinkLabelHidden;
466-
}
467-
else
468-
{
469-
Banner.Visible = false;
470-
}
471-
}
472456
}
473457
}
474458

XenModel/Messages.Designer.cs

-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

XenModel/Messages.resx

-3
Original file line numberDiff line numberDiff line change
@@ -4572,9 +4572,6 @@ Plugging in untrustworthy USB devices to your computer may put your computer at
45724572
<data name="DISPLAY_DETAILS" xml:space="preserve">
45734573
<value>Display options</value>
45744574
</data>
4575-
<data name="DMC" xml:space="preserve">
4576-
<value>Dynamic Memory Control</value>
4577-
</data>
45784575
<data name="DMC_UNAVAILABLE_LICENSE_RESTRICTION" xml:space="preserve">
45794576
<value>The Dynamic Memory Control (DMC) is not available due to license restrictions on the server.</value>
45804577
</data>

0 commit comments

Comments
 (0)