From d438a8d7486fd4b61b2ad298ed1e8d530c8ef6ab Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Tue, 22 Oct 2024 15:37:30 +1300 Subject: [PATCH] API Update API to reflect changes in silverstripe/cms --- src/Model/Blog.php | 5 +---- src/Model/BlogPost.php | 6 +----- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/Model/Blog.php b/src/Model/Blog.php index bd76e4a2..fb04ae9a 100644 --- a/src/Model/Blog.php +++ b/src/Model/Blog.php @@ -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} diff --git a/src/Model/BlogPost.php b/src/Model/BlogPost.php index 6f0aaae7..676653be 100644 --- a/src/Model/BlogPost.php +++ b/src/Model/BlogPost.php @@ -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