Skip to content

Commit 439cb19

Browse files
API Update API to reflect changes in silverstripe/cms (#798)
1 parent 5ffa74f commit 439cb19

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

src/Model/Blog.php

+1-4
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,7 @@ class Blog extends Page implements PermissionProvider
142142

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

145-
/**
146-
* @deprecated 4.4.0 Will be renamed to cms_icon_class
147-
*/
148-
private static $icon_class = 'font-icon-p-posts';
145+
private static $cms_icon_class = 'font-icon-p-posts';
149146

150147
/**
151148
* {@inheritdoc}

src/Model/BlogPost.php

+1-5
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,7 @@ class BlogPost extends Page
5151
*/
5252
private static $table_name = 'BlogPost';
5353

54-
/**
55-
* @var string
56-
* @deprecated 4.4.0 Will be renamed to cms_icon_class
57-
*/
58-
private static $icon_class = 'font-icon-p-post';
54+
private static $cms_icon_class = 'font-icon-p-post';
5955

6056
/**
6157
* @var array

0 commit comments

Comments
 (0)