[!!!][TASK] Remove $GLOBALS[FILEICONS] functionality
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Breaking-67654-RemoveGLOBALSFILEICONSFunctionality.rst
1 ===========================================================
2 Breaking: #67654 - Remove $GLOBALS[FILEICONS] functionality
3 ===========================================================
4
5 Description
6 ===========
7
8 The global variable $GLOBALS['FILEICONS'] was in use for displaying icons before the sprite icons for files were introduced in TYPO3 v4.4.
9
10 The $FILEICONS has been removed completely as well as the function call ``BackendUtility::getFileIcon()``.
11
12
13 Impact
14 ======
15
16 Any usage on $GLOBALS['FILEICONS'] will have no effect anymore.
17
18 Any calls on ``BackendUtility::getFileIcon()`` will result in a fatal error.
19
20
21 Affected Installations
22 ======================
23
24 Instances that populate or make use of $GLOBALS['FILEICONS'] or installations with extensions calling ``BackendUtility::getFileIcon()`` directly.
25
26
27 Migration
28 =========
29
30 Use sprite icons via ``IconUtility::getSpriteIconForFile()``.