From 439cb19b203607969f22e9fa3476a90728381088 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Thu, 12 Dec 2024 17:29:21 +1300 Subject: [PATCH] API Update API to reflect changes in silverstripe/cms (#798) --- 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