From 788b897674c0f60b1e9cfbe5fb720d76f0c49e00 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Tue, 20 Aug 2024 16:07:04 +1200 Subject: [PATCH] API Replace Extension subclasses --- src/SiteTreeExtension.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SiteTreeExtension.php b/src/SiteTreeExtension.php index adb4ca2..a138d44 100644 --- a/src/SiteTreeExtension.php +++ b/src/SiteTreeExtension.php @@ -5,15 +5,15 @@ use SilverStripe\CMS\Model\SiteTree; use SilverStripe\Forms\FieldList; use SilverStripe\Forms\Tab; -use SilverStripe\ORM\DataExtension; use SilverStripe\Security\Permission; +use SilverStripe\Core\Extension; /** * Handles adding the "Add to Campaign" button to a page's secondary actions menu * - * @extends DataExtension + * @extends Extension */ -class SiteTreeExtension extends DataExtension +class SiteTreeExtension extends Extension { protected function updateCMSActions(FieldList $actions) {