diff --git a/src/Extensions/ElementalAreasExtension.php b/src/Extensions/ElementalAreasExtension.php index d322e6ab..ebba1a57 100644 --- a/src/Extensions/ElementalAreasExtension.php +++ b/src/Extensions/ElementalAreasExtension.php @@ -15,7 +15,7 @@ use SilverStripe\Forms\LiteralField; use SilverStripe\ORM\DataObject; use SilverStripe\ORM\RelatedData\StandardRelatedDataService; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; use SilverStripe\Model\ModelData; use SilverStripe\Core\Extension; diff --git a/src/Models/BaseElement.php b/src/Models/BaseElement.php index b2e59996..544bb150 100644 --- a/src/Models/BaseElement.php +++ b/src/Models/BaseElement.php @@ -25,7 +25,7 @@ use SilverStripe\Core\Validation\ValidationException; use SilverStripe\Security\Member; use SilverStripe\Security\Permission; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; use SilverStripe\VersionedAdmin\Forms\HistoryViewerField; use SilverStripe\Model\ArrayData; use SilverStripe\View\Parsers\URLSegmentFilter; diff --git a/src/Models/ElementalArea.php b/src/Models/ElementalArea.php index 1549ddf9..203b2e55 100644 --- a/src/Models/ElementalArea.php +++ b/src/Models/ElementalArea.php @@ -14,7 +14,7 @@ use SilverStripe\ORM\FieldType\DBHTMLText; use SilverStripe\ORM\HasManyList; use SilverStripe\ORM\UnsavedRelationList; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; use SilverStripe\Model\ModelData; /** diff --git a/src/Services/ReorderElements.php b/src/Services/ReorderElements.php index 9e28be11..bc5bad3f 100644 --- a/src/Services/ReorderElements.php +++ b/src/Services/ReorderElements.php @@ -8,7 +8,7 @@ use SilverStripe\ORM\DataObject; use SilverStripe\ORM\DB; use SilverStripe\ORM\Queries\SQLUpdate; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; class ReorderElements { diff --git a/tests/ElementControllerTest.php b/tests/ElementControllerTest.php index 809e4b20..b82c254e 100644 --- a/tests/ElementControllerTest.php +++ b/tests/ElementControllerTest.php @@ -7,7 +7,7 @@ use DNADesign\Elemental\Tests\Src\TestElementController; use DNADesign\Elemental\Tests\Src\TestPage; use SilverStripe\Dev\FunctionalTest; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; class ElementControllerTest extends FunctionalTest { diff --git a/tests/ElementalAreaTest.php b/tests/ElementalAreaTest.php index 746dfd03..ae924382 100644 --- a/tests/ElementalAreaTest.php +++ b/tests/ElementalAreaTest.php @@ -10,7 +10,7 @@ use Page; use SilverStripe\Dev\SapphireTest; use SilverStripe\Model\List\ArrayList; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; class ElementalAreaTest extends SapphireTest { diff --git a/tests/Services/ReorderElementsTest.php b/tests/Services/ReorderElementsTest.php index 319be73f..9c61be8f 100644 --- a/tests/Services/ReorderElementsTest.php +++ b/tests/Services/ReorderElementsTest.php @@ -6,7 +6,7 @@ use DNADesign\Elemental\Services\ReorderElements; use DNADesign\Elemental\Tests\Src\TestElement; use SilverStripe\Dev\SapphireTest; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; class ReorderElementsTest extends SapphireTest { diff --git a/tests/Src/TestVersionedDataObject.php b/tests/Src/TestVersionedDataObject.php index 69cbd751..0d1319a5 100644 --- a/tests/Src/TestVersionedDataObject.php +++ b/tests/Src/TestVersionedDataObject.php @@ -5,7 +5,7 @@ use DNADesign\Elemental\Models\ElementalArea; use SilverStripe\ORM\DataObject; use SilverStripe\Dev\TestOnly; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; class TestVersionedDataObject extends DataObject implements TestOnly { diff --git a/tests/Tasks/MigrateContentToElementTest.php b/tests/Tasks/MigrateContentToElementTest.php index 387abd99..b1397b0c 100644 --- a/tests/Tasks/MigrateContentToElementTest.php +++ b/tests/Tasks/MigrateContentToElementTest.php @@ -10,7 +10,7 @@ use SilverStripe\Dev\SapphireTest; use SilverStripe\PolyExecution\PolyOutput; use SilverStripe\ORM\HasManyList; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; use Symfony\Component\Console\Input\ArrayInput; use Symfony\Component\Console\Output\BufferedOutput;