Skip to content

Commit

Permalink
API Update API to reflect changes in silverstripe/cms
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Dec 10, 2024
1 parent 5ffa74f commit d438a8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
5 changes: 1 addition & 4 deletions src/Model/Blog.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,7 @@ class Blog extends Page implements PermissionProvider

private static $class_description = 'Adds a blog to your website.';

/**
* @deprecated 4.4.0 Will be renamed to cms_icon_class
*/
private static $icon_class = 'font-icon-p-posts';
private static $cms_icon_class = 'font-icon-p-posts';

/**
* {@inheritdoc}
Expand Down
6 changes: 1 addition & 5 deletions src/Model/BlogPost.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@ class BlogPost extends Page
*/
private static $table_name = 'BlogPost';

/**
* @var string
* @deprecated 4.4.0 Will be renamed to cms_icon_class
*/
private static $icon_class = 'font-icon-p-post';
private static $cms_icon_class = 'font-icon-p-post';

/**
* @var array
Expand Down

0 comments on commit d438a8d

Please sign in to comment.