Skip to content

Commit

Permalink
Remove obsolete code. (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
jadarnel27 authored Dec 26, 2018
1 parent d4c1eaf commit fb19415
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/GetSqlServerVersionInfo/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,17 +150,6 @@ private static List<SqlServerBuild> GetSqlServerBuildsFromMicrosoftWebsite(
var extendedSupportEndDate = supportDate?.ExtendedSupportEndDate;
var servicePackSupportEndDate = supportDate?.ServicePackSupportEndDate;

// 2018-11-16: https://github.com/jadarnel27/SqlServerVersionScript/issues/11
// For some reason, somtimes a product is not listed on the support website.
// for instance SQL Server 2014 - Service Pack 3
// For now set support end date to '2014-09-07' as this is/was the End of Extended support for SQL 2014 SP2
if ((mainstreamSupportEndDate == null) && (extendedSupportEndDate == null) && (servicePackSupportEndDate == null) && (build.MajorVersionNumber == 12) && (build.ServicePack == "SP3"))
{
mainstreamSupportEndDate = new DateTime(2024, 9, 7);
extendedSupportEndDate = new DateTime(2024, 9, 7);
//continue;
}

build.SetSupportDates(mainstreamSupportEndDate, extendedSupportEndDate,
servicePackSupportEndDate);

Expand Down

0 comments on commit fb19415

Please sign in to comment.