diff --git a/src/Model/Subsite.php b/src/Model/Subsite.php index 8ac132fe..a0f88897 100644 --- a/src/Model/Subsite.php +++ b/src/Model/Subsite.php @@ -32,7 +32,7 @@ use SilverStripe\Security\Security; use SilverStripe\Subsites\Service\ThemeResolver; use SilverStripe\Subsites\State\SubsiteState; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; use UnexpectedValueException; use SilverStripe\Core\ClassInfo; use SilverStripe\Forms\GridField\GridFieldAddExistingAutocompleter; diff --git a/src/Tasks/SubsiteCopyPagesTask.php b/src/Tasks/SubsiteCopyPagesTask.php index 65940662..625caa38 100644 --- a/src/Tasks/SubsiteCopyPagesTask.php +++ b/src/Tasks/SubsiteCopyPagesTask.php @@ -9,7 +9,7 @@ use SilverStripe\ORM\DataObject; use SilverStripe\Subsites\Model\Subsite; use SilverStripe\Subsites\Pages\SubsitesVirtualPage; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; diff --git a/tests/php/SiteTreeSubsitesTest.php b/tests/php/SiteTreeSubsitesTest.php index adb65115..c851e905 100644 --- a/tests/php/SiteTreeSubsitesTest.php +++ b/tests/php/SiteTreeSubsitesTest.php @@ -23,7 +23,7 @@ use SilverStripe\Subsites\Tests\SiteTreeSubsitesTest\TestClassA; use SilverStripe\Subsites\Tests\SiteTreeSubsitesTest\TestClassB; use SilverStripe\Subsites\Tests\SiteTreeSubsitesTest\TestErrorPage; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; use SilverStripe\View\SSViewer; use TractorCow\Fluent\Extension\FluentSiteTreeExtension; use PHPUnit\Framework\Attributes\DataProvider; diff --git a/tests/php/SubsitesVirtualPageTest.php b/tests/php/SubsitesVirtualPageTest.php index bc00cd24..d17e1e1f 100644 --- a/tests/php/SubsitesVirtualPageTest.php +++ b/tests/php/SubsitesVirtualPageTest.php @@ -12,7 +12,7 @@ use SilverStripe\ORM\DB; use SilverStripe\Subsites\Model\Subsite; use SilverStripe\Subsites\Pages\SubsitesVirtualPage; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; class SubsitesVirtualPageTest extends BaseSubsiteTest {