[TASK] Deprecate getTSConfigVal() and getTSConfigProp()
The patch deprecates BackendUserAuthentication->getTSConfigVal() and ->getTSConfigProp() and adapts usages to rely on getTSConfig() without arguments. The array nesting is done directly within consuming code and is combined with ?? to a fallback value. Advantages: * Expensive and recursive string operations within getTSConfig() are not used anymore. * The weird 'value' / 'property' based sub array juggling is gone. * Full TSconfig path including fallback can be easily seen within consuming code * Notice free array access using null coalescence operator Change-Id: I6d5777ebd533dcfdc6018e0226bfb3e513cfa652 Resolves: #84993 Related: #84982 Releases: master Reviewed-on: https://review.typo3.org/56953 Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de> Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de> Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl> Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Showing
- typo3/sysext/adminpanel/Classes/Middleware/AdminPanelInitiator.php 1 addition, 1 deletion...ext/adminpanel/Classes/Middleware/AdminPanelInitiator.php
- typo3/sysext/adminpanel/Classes/Modules/AbstractModule.php 1 addition, 1 deletiontypo3/sysext/adminpanel/Classes/Modules/AbstractModule.php
- typo3/sysext/adminpanel/Classes/Modules/EditModule.php 2 additions, 5 deletionstypo3/sysext/adminpanel/Classes/Modules/EditModule.php
- typo3/sysext/backend/Classes/Backend/ToolbarItems/ClearCacheToolbarItem.php 8 additions, 5 deletions...nd/Classes/Backend/ToolbarItems/ClearCacheToolbarItem.php
- typo3/sysext/backend/Classes/Backend/ToolbarItems/ShortcutToolbarItem.php 2 additions, 2 deletions...kend/Classes/Backend/ToolbarItems/ShortcutToolbarItem.php
- typo3/sysext/backend/Classes/Clipboard/Clipboard.php 3 additions, 6 deletionstypo3/sysext/backend/Classes/Clipboard/Clipboard.php
- typo3/sysext/backend/Classes/ContextMenu/ItemProviders/AbstractProvider.php 5 additions, 1 deletion...nd/Classes/ContextMenu/ItemProviders/AbstractProvider.php
- typo3/sysext/backend/Classes/ContextMenu/ItemProviders/PageProvider.php 1 addition, 1 deletion...ackend/Classes/ContextMenu/ItemProviders/PageProvider.php
- typo3/sysext/backend/Classes/ContextMenu/ItemProviders/RecordProvider.php 2 additions, 3 deletions...kend/Classes/ContextMenu/ItemProviders/RecordProvider.php
- typo3/sysext/backend/Classes/Controller/BackendController.php 4 additions, 3 deletions...3/sysext/backend/Classes/Controller/BackendController.php
- typo3/sysext/backend/Classes/Controller/EditDocumentController.php 1 addition, 1 deletion...ext/backend/Classes/Controller/EditDocumentController.php
- typo3/sysext/backend/Classes/Controller/LoginController.php 5 additions, 4 deletionstypo3/sysext/backend/Classes/Controller/LoginController.php
- typo3/sysext/backend/Classes/Controller/NewRecordController.php 8 additions, 9 deletions...sysext/backend/Classes/Controller/NewRecordController.php
- typo3/sysext/backend/Classes/Controller/Page/NewMultiplePagesController.php 1 addition, 1 deletion...nd/Classes/Controller/Page/NewMultiplePagesController.php
- typo3/sysext/backend/Classes/Controller/Page/TreeController.php 11 additions, 9 deletions...sysext/backend/Classes/Controller/Page/TreeController.php
- typo3/sysext/backend/Classes/Controller/SimpleDataHandlerController.php 1 addition, 1 deletion...ackend/Classes/Controller/SimpleDataHandlerController.php
- typo3/sysext/backend/Classes/Domain/Repository/Module/BackendModuleRepository.php 31 additions, 22 deletions...sses/Domain/Repository/Module/BackendModuleRepository.php
- typo3/sysext/backend/Classes/Form/FormResultCompiler.php 4 additions, 4 deletionstypo3/sysext/backend/Classes/Form/FormResultCompiler.php
- typo3/sysext/backend/Classes/Tree/View/AbstractTreeView.php 3 additions, 1 deletiontypo3/sysext/backend/Classes/Tree/View/AbstractTreeView.php
- typo3/sysext/backend/Classes/Tree/View/BrowseTreeView.php 8 additions, 4 deletionstypo3/sysext/backend/Classes/Tree/View/BrowseTreeView.php
Loading
Please register or sign in to comment