From bdb2428e62e6700405455d1676047d708c394a5d Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Tue, 29 Oct 2024 14:03:15 +1300 Subject: [PATCH] API Use updated Versioned and Staged classes --- src/File.php | 2 +- tests/php/Shortcodes/FileBrokenLinksTest/EditableObject.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/File.php b/src/File.php index b2a19c88..c7c724a3 100644 --- a/src/File.php +++ b/src/File.php @@ -34,7 +34,7 @@ use SilverStripe\Security\PermissionChecker; use SilverStripe\Security\PermissionProvider; use SilverStripe\Security\Security; -use SilverStripe\Versioned\RecursivePublishable; +use SilverStripe\Versioned\Staged\RecursivePublishable; use SilverStripe\Versioned\Versioned; use SilverStripe\View\HTML; diff --git a/tests/php/Shortcodes/FileBrokenLinksTest/EditableObject.php b/tests/php/Shortcodes/FileBrokenLinksTest/EditableObject.php index 29c44e9b..32a413e2 100644 --- a/tests/php/Shortcodes/FileBrokenLinksTest/EditableObject.php +++ b/tests/php/Shortcodes/FileBrokenLinksTest/EditableObject.php @@ -5,7 +5,7 @@ use SilverStripe\Assets\Shortcodes\FileLinkTracking; use SilverStripe\Dev\TestOnly; use SilverStripe\ORM\DataObject; -use SilverStripe\Versioned\RecursivePublishable; +use SilverStripe\Versioned\Staged\RecursivePublishable; use SilverStripe\Versioned\Versioned; /**