From c6df4e60e69735fff2fc44cf362471e4f3f08c50 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Tue, 29 Oct 2024 17:57:19 +1300 Subject: [PATCH] API Use updated Versioned and Staged classes --- code/Company.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/Company.php b/code/Company.php index 5e27c21..278a13e 100644 --- a/code/Company.php +++ b/code/Company.php @@ -9,8 +9,8 @@ use SilverStripe\ORM\DataObject; use SilverStripe\ORM\DB; use SilverStripe\AssetAdmin\Forms\UploadField; -use SilverStripe\Versioned\RecursivePublishable; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Staged\RecursivePublishable; +use SilverStripe\Versioned\Mode\Versioned; use RelationFieldsTestPage; use GridFieldTestPage; use SilverStripe\Forms\RequiredFields;