Simplify version management, SolutionInfo is only the source now
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user