Skip to content

Commit

Permalink
API Update API to reflect changes in silverstripe/cms (#798)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Dec 12, 2024
1 parent 5ffa74f commit 439cb19
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 439cb19

Please sign in to comment.