Skip to content

Commit

Permalink
Removed UseBlocks from ContentType
Browse files Browse the repository at this point in the history
  • Loading branch information
tidyui committed Sep 29, 2020
1 parent b896802 commit 8fb326d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion core/Piranha.AttributeBuilder/ContentTypeBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@ private ContentType GetContentType(Type type)
Group = group.Id,
UseExcerpt = attr.UseExcerpt,
UsePrimaryImage = attr.UsePrimaryImage,
UseBlocks = typeof(IBlockContent).IsAssignableFrom(type),
UseCategory = typeof(ICategorizedContent).IsAssignableFrom(type),
UseTags = typeof(ITaggedContent).IsAssignableFrom(type),
CustomEditors = GetEditors(type),
Expand Down
5 changes: 0 additions & 5 deletions core/Piranha/Models/ContentType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ public sealed class ContentType : ContentTypeBase
[StringLength(64)]
public string Group { get; set; }

/// <summary>
/// Gets/sets if the content type should support blocks.
/// </summary>
public bool UseBlocks { get; set; }

/// <summary>
/// Gets/sets if the content type should be
/// categorized.
Expand Down

0 comments on commit 8fb326d

Please sign in to comment.