adds stub code for clearing scheduled publishing

This commit is contained in:
Shannon
2018-10-05 11:56:47 +02:00
parent 2e5d0f85e8
commit 06d41086f3

View File

@@ -412,6 +412,7 @@ AND umbracoNode.id <> @id",
//we've already looked up the previous version of the content type so we know it's previous variation state
MoveVariantData(entity, (ContentVariation)dtoPk.Variations, entity.Variations);
Clear301Redirects(entity);
ClearScheduledPublishing(entity);
}
//track any property types that are changing variation
@@ -513,6 +514,14 @@ AND umbracoNode.id <> @id",
Database.Execute(sqlDelete);
}
/// <summary>
/// Clear any scheduled publishing associated with content for a content type
/// </summary>
private void ClearScheduledPublishing(IContentTypeComposition contentType)
{
//TODO: Fill this in when scheduled publishing is enabled for variants
}
/// <summary>
/// Moves variant data for property type changes
/// </summary>