From 3e52b03ed64aa7bdd20de3b61d87e1ee3bbfa196 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Tue, 29 Oct 2024 14:03:08 +1300 Subject: [PATCH] API Use updated Versioned and Staged classes --- code/Forms/FileFormFactory.php | 2 +- tests/php/Forms/FileFormBuilderTest/FileOwner.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/Forms/FileFormFactory.php b/code/Forms/FileFormFactory.php index 1eb0e5658..f2b4d4e78 100644 --- a/code/Forms/FileFormFactory.php +++ b/code/Forms/FileFormFactory.php @@ -17,7 +17,7 @@ use SilverStripe\Forms\Tab; use SilverStripe\Forms\TabSet; use SilverStripe\Forms\TextField; -use SilverStripe\Versioned\RecursivePublishable; +use SilverStripe\Versioned\Staged\RecursivePublishable; use SilverStripe\Versioned\Versioned; class FileFormFactory extends AssetFormFactory diff --git a/tests/php/Forms/FileFormBuilderTest/FileOwner.php b/tests/php/Forms/FileFormBuilderTest/FileOwner.php index 639307097..63834b26b 100644 --- a/tests/php/Forms/FileFormBuilderTest/FileOwner.php +++ b/tests/php/Forms/FileFormBuilderTest/FileOwner.php @@ -5,7 +5,7 @@ use SilverStripe\Assets\File; use SilverStripe\Dev\TestOnly; use SilverStripe\ORM\DataObject; -use SilverStripe\Versioned\RecursivePublishable; +use SilverStripe\Versioned\Staged\RecursivePublishable; use SilverStripe\Versioned\Versioned; /**