Commit 13977d17 authored by Benni Mack's avatar Benni Mack Committed by Christian Kuhn
Browse files

[!!!][TASK] Remove obsolete VersionState constants

Since TYPO3 v11.0 workspaces has become much easier
under-the-hood. The relevant VersionState constants
are removed for 12.0.

Resolves: #96156
Related: #92497
Related: #92791
Releases: main
Change-Id: I872161b6b421d212c9e62bd2776c5184e849c08e
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72400


Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
Tested-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent d9c3afa3
......@@ -24,18 +24,6 @@ final class VersionState extends Enumeration
{
const __default = self::DEFAULT_STATE;
/**
* This record was used until TYPO3 v11, but is not in use anymore.
* If a new record is created in a workspace a version
* with t3ver_state -1 is created. This
* record is the version of the "live" record
* (t3ver_state=1) where changes are stored, the so-called
* "versioned record" for new elements.
*
* @deprecated this constant is not in use anymore and should be removed from any third-party code
*/
const NEW_PLACEHOLDER_VERSION = -1;
/**
* The t3ver_state 0 is used for a live element, and any
* commonly "modified" versioned record which is then identified
......@@ -69,12 +57,7 @@ final class VersionState extends Enumeration
* When reading records from the DB with workspaces in mind,
* the t3ver_state=4 records should be fetched as well to
* find the new position and to do "workspace overlays" properly.
*
* Move placeholders (t3ver_state=3) is not in use anymore, never
* created and not evaluated anymore since TYPO3 v11.
*/
/** @deprecated this constant is not in use anymore and should be removed from any third-party code */
const MOVE_PLACEHOLDER = 3;
const MOVE_POINTER = 4;
/**
......
......@@ -149,7 +149,8 @@ The following constants have been dropped:
The following class constants have been dropped:
- :php:`\Full\Class\Name::CONSTANT_NAME`
- :php:`\TYPO3\CMS\Core\Versioning\VersionState::NEW_PLACEHOLDER_VERSION`
- :php:`\TYPO3\CMS\Core\Versioning\VersionState::MOVE_PLACEHOLDER`
The following global option handling have been dropped and are ignored:
......
......@@ -425,6 +425,7 @@ return [
'TYPO3\CMS\Core\Versioning\VersionState::MOVE_PLACEHOLDER' => [
'restFiles' => [
'Breaking-92497-WorkspacesMovePlaceholdersRemoved.rst',
'Breaking-96107-DeprecatedFunctionalityRemoved.rst',
],
],
'TYPO3\CMS\Core\Page\PageRenderer::PART_COMPLETE' => [
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment