Project

General

Profile

Actions

Bug #52551

closed

Introduce Constants for t3ver_state

Added by Sascha Egerer over 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Workspaces
Target version:
-
Start date:
2014-05-15
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Currently the t3ver_state field can have 6 different integer values (http://docs.typo3.org/typo3cms/extensions/workspaces/latest/Administration/Versioning/Index.html).
The code would be better readable if there where speaking constants instead of a range of numbers from -1 to 4.

The constants have to be defined in the core because we also need them if the version extension is not installed.


Subtasks 1 (0 open1 closed)

Bug #58846: Invalid value for TYPO3\CMS\Core\Versioning\VersionStateClosed2014-05-15

Actions
Actions

Also available in: Atom PDF