Skip to content

Commit fb19415

Browse files
authored
Remove obsolete code. (#16)
1 parent d4c1eaf commit fb19415

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/GetSqlServerVersionInfo/Program.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -150,17 +150,6 @@ private static List<SqlServerBuild> GetSqlServerBuildsFromMicrosoftWebsite(
150150
var extendedSupportEndDate = supportDate?.ExtendedSupportEndDate;
151151
var servicePackSupportEndDate = supportDate?.ServicePackSupportEndDate;
152152

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

0 commit comments

Comments
 (0)