Breaking: #88498 - Global data for TimeTracker statistics removed¶
See forge#88498
Description¶
The TimeTracker used some global variables to store microtime
when a Frontend request was started
and ended, as information for the Admin Panel and as HTTP Header, if debug mode is enabled for Frontend.
This information is now encapsulated within the TimeTracker object, making the following global variables obsolete:
$GLOBALS
['TYPO3_ MISC'] ['microtime_ start'] $GLOBALS
['TYPO3_ MISC'] ['microtime_ end'] $GLOBALS
['TYPO3_ MISC'] ['microtime_ BE_ USER_ start'] $GLOBALS
['TYPO3_ MISC'] ['microtime_ BE_ USER_ end']
This also results in having $GLOBALS
to not be set anymore.
Impact¶
Accessing the global variables will trigger a PHP E_
error, as they do not exist anymore.
Affected Installations¶
Any TYPO3 installation with an extension working with any of the global variables.
Migration¶
Remove the usages and either use the newly introduced Time
to calculate data, or set
your own variables, if microtime is needed.