diff --git a/src/Umbraco.Infrastructure/RuntimeState.cs b/src/Umbraco.Infrastructure/RuntimeState.cs index 504a7b946d..52313ed8a4 100644 --- a/src/Umbraco.Infrastructure/RuntimeState.cs +++ b/src/Umbraco.Infrastructure/RuntimeState.cs @@ -207,9 +207,9 @@ namespace Umbraco.Cms.Core // TODO: Can we save the result of this since we'll need to re-use it? IReadOnlyList packagesRequiringMigration = DoesUmbracoRequirePackageMigrations(keyValues); if (packagesRequiringMigration.Count > 0) - { + { return UmbracoDatabaseState.NeedsPackageMigration; - } + } } return UmbracoDatabaseState.Ok; @@ -321,7 +321,7 @@ namespace Umbraco.Cms.Core return CurrentMigrationState != FinalMigrationState; } - private IReadOnlyList DoesUmbracoRequirePackageMigrations(IReadOnlyDictionary keyValues)r + private IReadOnlyList DoesUmbracoRequirePackageMigrations(IReadOnlyDictionary keyValues) { var packageMigrationPlans = _packageMigrationPlans.ToList();