diff --git a/src/GridFieldNestedForm.php b/src/GridFieldNestedForm.php index 3c8fc51..6368791 100644 --- a/src/GridFieldNestedForm.php +++ b/src/GridFieldNestedForm.php @@ -26,7 +26,7 @@ use SilverStripe\Model\List\Filterable; use SilverStripe\ORM\Hierarchy\Hierarchy; use SilverStripe\Model\List\SS_List; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; use SilverStripe\Model\ModelData; use Symbiote\GridFieldExtensions\GridFieldOrderableRows; diff --git a/src/GridFieldOrderableRows.php b/src/GridFieldOrderableRows.php index a94f4a5..a9733f6 100755 --- a/src/GridFieldOrderableRows.php +++ b/src/GridFieldOrderableRows.php @@ -28,7 +28,7 @@ use SilverStripe\ORM\ManyManyThroughList; use SilverStripe\ORM\ManyManyThroughQueryManipulator; use SilverStripe\Model\List\SS_List; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; use SilverStripe\Model\ModelData; /** diff --git a/tests/OrderableRowsThroughVersionedTest.php b/tests/OrderableRowsThroughVersionedTest.php index 2a2ab1f..4472fa8 100644 --- a/tests/OrderableRowsThroughVersionedTest.php +++ b/tests/OrderableRowsThroughVersionedTest.php @@ -4,7 +4,7 @@ use ReflectionMethod; use SilverStripe\Dev\SapphireTest; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; use SilverStripe\Forms\GridField\GridField; use SilverStripe\Forms\GridField\GridFieldConfig_RelationEditor; use Symbiote\GridFieldExtensions\Tests\Stub\ThroughDefiner; diff --git a/tests/Stub/StubOrderedVersioned.php b/tests/Stub/StubOrderedVersioned.php index 83bc009..e82da80 100644 --- a/tests/Stub/StubOrderedVersioned.php +++ b/tests/Stub/StubOrderedVersioned.php @@ -4,7 +4,7 @@ use SilverStripe\Dev\TestOnly; use SilverStripe\ORM\DataObject; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; /** * Class StubOrderedVersioned diff --git a/tests/Stub/StubSubclassOrderedVersioned.php b/tests/Stub/StubSubclassOrderedVersioned.php index e0e112d..c69f842 100644 --- a/tests/Stub/StubSubclassOrderedVersioned.php +++ b/tests/Stub/StubSubclassOrderedVersioned.php @@ -4,7 +4,7 @@ use SilverStripe\Dev\TestOnly; use SilverStripe\ORM\DataObject; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; /** * Class StubOrderedVersioned diff --git a/tests/Stub/ThroughBelongsVersioned.php b/tests/Stub/ThroughBelongsVersioned.php index d6f695b..5a85055 100644 --- a/tests/Stub/ThroughBelongsVersioned.php +++ b/tests/Stub/ThroughBelongsVersioned.php @@ -5,7 +5,7 @@ use SilverStripe\Dev\TestOnly; use SilverStripe\ORM\DataObject; use SilverStripe\ORM\ManyManyList; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; /** * @method ManyManyList|ThroughDefinerVersioned[] Definers() diff --git a/tests/Stub/ThroughDefinerVersioned.php b/tests/Stub/ThroughDefinerVersioned.php index 9cb6af2..7b21816 100644 --- a/tests/Stub/ThroughDefinerVersioned.php +++ b/tests/Stub/ThroughDefinerVersioned.php @@ -5,7 +5,7 @@ use SilverStripe\Dev\TestOnly; use SilverStripe\ORM\DataObject; use SilverStripe\ORM\ManyManyThroughList; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; /** * @method ManyManyThroughList|ThroughIntermediaryVersioned Belongings() diff --git a/tests/Stub/ThroughIntermediaryVersioned.php b/tests/Stub/ThroughIntermediaryVersioned.php index 5ad3f14..094c833 100644 --- a/tests/Stub/ThroughIntermediaryVersioned.php +++ b/tests/Stub/ThroughIntermediaryVersioned.php @@ -4,7 +4,7 @@ use SilverStripe\Dev\TestOnly; use SilverStripe\ORM\DataObject; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; /** * @property int $DefiningID