diff --git a/src/Model/BlogFilter.php b/src/Model/BlogFilter.php index 7dc106b8..15d36abf 100644 --- a/src/Model/BlogFilter.php +++ b/src/Model/BlogFilter.php @@ -11,7 +11,7 @@ use SilverStripe\ORM\DataObject; use SilverStripe\ORM\FieldType\DBDatetime; use SilverStripe\Security\Permission; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; /** * This class is responsible for filtering the SiteTree when necessary and also overlaps into diff --git a/src/Model/BlogPost.php b/src/Model/BlogPost.php index bc68c620..0d348793 100644 --- a/src/Model/BlogPost.php +++ b/src/Model/BlogPost.php @@ -19,7 +19,7 @@ use SilverStripe\Security\Member; use SilverStripe\Security\Permission; use SilverStripe\Security\Security; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; use SilverStripe\Model\ArrayData; use SilverStripe\View\Requirements; diff --git a/src/Model/BlogPostFilter.php b/src/Model/BlogPostFilter.php index e76635f1..b26c6fce 100644 --- a/src/Model/BlogPostFilter.php +++ b/src/Model/BlogPostFilter.php @@ -10,7 +10,7 @@ use SilverStripe\ORM\FieldType\DBDatetime; use SilverStripe\ORM\Queries\SQLSelect; use SilverStripe\Security\Permission; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; use SilverStripe\Core\Extension; /** diff --git a/tests/php/BlogPostTest.php b/tests/php/BlogPostTest.php index 86bf1180..27927ae7 100644 --- a/tests/php/BlogPostTest.php +++ b/tests/php/BlogPostTest.php @@ -9,7 +9,7 @@ use SilverStripe\ORM\FieldType\DBDatetime; use SilverStripe\Security\Member; use SilverStripe\Security\Security; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; use PHPUnit\Framework\Attributes\DataProvider; class BlogPostTest extends SapphireTest