From 604f22bd6801f125add9ecd027c4098f94f52910 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) {