Merge remote-tracking branch 'origin/v9/task/package-refactor' into v9/task/package-migrations-backoffice
# Conflicts: # src/Umbraco.Core/Extensions/XmlExtensions.cs # src/Umbraco.Core/Packaging/PackageMigrationPlan.cs # src/Umbraco.Infrastructure/Runtime/RuntimeState.cs
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
using System;
|
||||
using Umbraco.Cms.Core.Composing;
|
||||
using Umbraco.Cms.Core.Migrations;
|
||||
using Umbraco.Extensions;
|
||||
|
||||
namespace Umbraco.Cms.Core.Packaging
|
||||
{
|
||||
@@ -46,6 +48,12 @@ namespace Umbraco.Cms.Core.Packaging
|
||||
/// </summary>
|
||||
public string PackageName { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Inform the plan executor to ignore all saved package state and
|
||||
/// run the migration from initial state to it's end state.
|
||||
/// </summary>
|
||||
public override bool IgnoreCurrentState => true;
|
||||
|
||||
protected abstract void DefinePlan();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user