From aad00dfac1dbc5f4cfe7fc21dab1ee3bdbad9baf Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Tue, 20 Aug 2024 16:19:14 +1200 Subject: [PATCH] API Replace Extension subclasses --- src/Model/Lumberjack.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Model/Lumberjack.php b/src/Model/Lumberjack.php index 199eb70..af44f75 100644 --- a/src/Model/Lumberjack.php +++ b/src/Model/Lumberjack.php @@ -5,9 +5,9 @@ use Exception; use SilverStripe\Admin\LeftAndMain; use SilverStripe\CMS\Model\SiteTree; -use SilverStripe\CMS\Model\SiteTreeExtension; use SilverStripe\Control\Controller; use SilverStripe\Core\Config\Config; +use SilverStripe\Core\Extension; use SilverStripe\Forms\FieldList; use SilverStripe\Forms\GridField\GridField; use SilverStripe\Forms\GridField\GridFieldViewButton; @@ -30,7 +30,7 @@ * * @extends SiteTreeExtension */ -class Lumberjack extends SiteTreeExtension +class Lumberjack extends Extension { /** * Loops through subclasses of the owner (intended to be SiteTree) and checks if they've been hidden.