This commit is contained in:
Bjarke Berg
2019-02-13 11:39:09 +01:00
parent d0c4e44e9e
commit 3e9113f1ef

View File

@@ -13,12 +13,9 @@ namespace Umbraco.Core.Migrations.Upgrade.V_8_0_0
{
public class RadioAndCheckboxAndDropdownPropertyEditorsMigration : MigrationBase
{
private readonly IMigrationContext _context;
public RadioAndCheckboxAndDropdownPropertyEditorsMigration(IMigrationContext context)
: base(context)
{
_context = context;
}
public override void Migrate()
@@ -31,7 +28,7 @@ namespace Umbraco.Core.Migrations.Upgrade.V_8_0_0
if (refreshCache)
{
_context.AddPostMigration<RebuildPublishedSnapshot>();
Context.AddPostMigration<RebuildPublishedSnapshot>();
}
}