Skip to content
Snippets Groups Projects
Commit c9fef8b4 authored by Torben Hansen's avatar Torben Hansen Committed by Christian Kuhn
Browse files

[!!!][TASK] Remove TODAYS_SPECIAL error constant

The constant `TODAYS_SPECIAL` has never been used in TYPO3
core and also 3rd party extensions in TER do not make
use of it. The constant can therefore be removed safely
from the class.

Resolves: #98195
Releases: main
Change-Id: I187817b2641d97c48832e757ad0de710e49ce31f
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75538


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 6575656a
Branches
Tags
No related merge requests found
......@@ -27,12 +27,4 @@ class Error
public const SYSTEM_ERROR = 2;
public const SECURITY_NOTICE = 3;
public const WARNING = 4;
/*
* 100 is a code, which has been introduced by Kasper in his "Todays special" commit:
* @see https://github.com/typo3/typo3/commit/7496d6d033
*
* @todo The constant should either be renamed or replaced completely in the future
*/
public const TODAYS_SPECIAL = 100;
}
.. include:: /Includes.rst.txt
.. _breaking-98195-1661274247:
=======================================================
Breaking: #98195 - Remove TODAYS_SPECIAL error constant
=======================================================
See :issue:`98195`
Description
===========
The constant :php:`TODAYS_SPECIAL` in :php:`\TYPO3\CMS\Core\SysLog\Error` has never been
used in TYPO3 core and is therefore removed without replacement.
Impact
======
3rd party extensions using the extension will fail with a PHP error.
Affected installations
======================
3rd party extensions who use the :php:`TODAYS_SPECIAL` constant.
Migration
=========
3rd party extensions using the :php:`TODAYS_SPECIAL` constant should replace
all usages with the integer value `100` or use a custom class with a user
defined constant.
.. index:: Backend, PHP-API, NotScanned, ext:core
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