Revert "Merge IContentTypeWithHistoryCleanup with IContentType.cs"
This reverts commit 94eb49cdb6.
This commit is contained in:
@@ -890,7 +890,7 @@ namespace Umbraco.Cms.Infrastructure.Packaging
|
||||
UpdateContentTypesPropertyGroups(contentType, documentType.Element("Tabs"));
|
||||
UpdateContentTypesProperties(contentType, documentType.Element("GenericProperties"));
|
||||
|
||||
if (contentType is IContentType withCleanup)
|
||||
if (contentType is IContentTypeWithHistoryCleanup withCleanup)
|
||||
{
|
||||
UpdateHistoryCleanupPolicy(withCleanup, documentType.Element("HistoryCleanupPolicy"));
|
||||
}
|
||||
@@ -898,7 +898,7 @@ namespace Umbraco.Cms.Infrastructure.Packaging
|
||||
return contentType;
|
||||
}
|
||||
|
||||
private void UpdateHistoryCleanupPolicy(IContentType withCleanup, XElement? element)
|
||||
private void UpdateHistoryCleanupPolicy(IContentTypeWithHistoryCleanup withCleanup, XElement? element)
|
||||
{
|
||||
if (element == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user