Remove case that is no longer hit, and that causes confusion because updates.xensource.com shouldn't be in the source

This commit is contained in:
Stephen Turner 2017-05-03 16:02:31 +01:00
parent f71b39ff5f
commit 85d13bdbb6
3 changed files with 0 additions and 7 deletions

View File

@ -48,8 +48,6 @@ namespace XenAdmin.Core
ParseVersion(version_lang);
Name = name;
IsLatest = is_latest;
if (url.StartsWith("/XenServer"))
url = XenServerVersion.UpdateRoot + url;
Url = url;
DateTime.TryParse(timestamp, out TimeStamp);
}

View File

@ -65,8 +65,6 @@ namespace XenAdmin.Core
Guidance = guidance;
Guidance_mandatory = guidance_mandatory;
Version = new Version(version);
if (url.StartsWith("/XenServer"))
url = XenServerVersion.UpdateRoot + url;
Url = url;
PatchUrl = patchUrl;
DateTime.TryParse(timestamp, out TimeStamp);

View File

@ -52,7 +52,6 @@ namespace XenAdmin.Core
public List<XenServerPatch> MinimalPatches;
public DateTime TimeStamp;
public const string UpdateRoot = @"http://updates.xensource.com";
public string BuildNumber;
/// <summary>
@ -72,8 +71,6 @@ namespace XenAdmin.Core
ParseVersion(version_oem);
Name = name;
Latest = latest;
if (url.StartsWith("/XenServer"))
url = UpdateRoot + url;
Url = url;
Patches = patches;
MinimalPatches = minimumPatches;