From fb1941538f363771acc3d39fd5ca0b954397e8ac Mon Sep 17 00:00:00 2001 From: Josh Darnell Date: Wed, 26 Dec 2018 11:56:51 -0500 Subject: [PATCH] Remove obsolete code. (#16) --- src/GetSqlServerVersionInfo/Program.cs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/GetSqlServerVersionInfo/Program.cs b/src/GetSqlServerVersionInfo/Program.cs index b2f37de..9ebe64d 100644 --- a/src/GetSqlServerVersionInfo/Program.cs +++ b/src/GetSqlServerVersionInfo/Program.cs @@ -150,17 +150,6 @@ private static List 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);