Simplify version management, SolutionInfo is only the source now

This commit is contained in:
Stephan
2018-11-15 08:47:47 +01:00
parent bd9a67f5a9
commit 42857ebc2a
9 changed files with 61 additions and 41 deletions

View File

@@ -40,7 +40,7 @@ namespace Umbraco.Core.Services.Implement
// if already running 8, either following an upgrade or an install,
// then everything should be ok (the table should exist, etc)
if (UmbracoVersion.Local.Major >= 8)
if (UmbracoVersion.LocalVersion.Major >= 8)
return;
// else we are upgrading from 7, we can assume that the locks table
@@ -197,7 +197,7 @@ namespace Umbraco.Core.Services.Implement
internal static string GetValue(IUmbracoDatabase database, string key)
{
// not 8 yet = no key/value table, no value
if (UmbracoVersion.Local.Major < 8)
if (UmbracoVersion.LocalVersion.Major < 8)
return null;
var sql = database.SqlContext.Sql()