From 1fc9352a0766f927540f389c281eaadaf260080f Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Thu, 12 Dec 2024 17:29:29 +1300 Subject: [PATCH] API Update API to reflect changes in silverstripe/cms (#128) --- src/ErrorPage.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/ErrorPage.php b/src/ErrorPage.php index 04d8d19..54546a0 100644 --- a/src/ErrorPage.php +++ b/src/ErrorPage.php @@ -62,10 +62,7 @@ class ErrorPage extends Page private static $class_description = 'Custom content for different error cases (e.g. "Page not found")'; - /** - * @deprecated 2.4.0 Will be renamed to cms_icon_class - */ - private static $icon_class = 'font-icon-p-error'; + private static $cms_icon_class = 'font-icon-p-error'; /** * Allow developers to opt out of dev messaging using Config