mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
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:
parent
f71b39ff5f
commit
85d13bdbb6
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user