[!!!][TASK] Remove module URI storage in global variable
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Breaking-65432-ModulUriInGlobalVarRemoved.rst
1 ============================================================================
2 Breaking: #65432 - Storage of module URI in global variable has been removed
3 ============================================================================
4
5 Description
6 ===========
7
8 Previously the URI to a module which was dispatched through mod.php was stored
9 in a global variable ``$GLOBALS['MCONF']['_']``.
10
11 In terms of cleanup of global variable usage and module configuration cleanup and streamlining,
12 this functionality has been removed without substitution.
13
14
15 Impact
16 ======
17
18 Any backend module code which accesses ``$GLOBALS['MCONF']['_']`` to get the module URI will not function any more.
19
20
21 Affected installations
22 ======================
23
24 TYPO3 CMS 7 installations using extensions with backend modules which use ``$GLOBALS['MCONF']['_']``.
25
26
27 Migration
28 =========
29
30 Extension code needs to be changed in a way that the API ``BackendUtility::getModuleUrl('module_name')`` is used instead of accessing ``$GLOBALS['MCONF']['_']``.