Skip to content

Commit

Permalink
[!!!][TASK] Remove RecordListController hooks
Browse files Browse the repository at this point in the history
The RecordListController hooks were migrated
to PSR-14 events and are therefore now removed.

Resolves: #96178
Related: #92062
Releases: main
Change-Id: Ibb56c9a6e9e4233ff2ed74f61f2e610841f3428a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72439
Tested-by: core-ci <typo3@b13.com>
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
  • Loading branch information
o-ba committed Dec 1, 2021
1 parent 34e4d92 commit d9c3afa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 57 deletions.
Expand Up @@ -163,6 +163,8 @@ The following hooks have been removed:

- :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['additionalBackendItems']['cacheActions']`
- :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['FileDumpEID.php']['checkFileAccess']`
- :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['recordlist/Modules/Recordlist/index.php']['drawHeaderHook']`
- :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['recordlist/Modules/Recordlist/index.php']['drawFooterHook']`
- :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/browse_links.php']['browserRendering']`
- :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/class.db_list_extra.inc']['actions']`
- :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/classes/class.frontendedit.php']`
Expand Down
Expand Up @@ -448,11 +448,13 @@
'$GLOBALS[\'TYPO3_CONF_VARS\'][\'SC_OPTIONS\'][\'recordlist/Modules/Recordlist/index.php\'][\'drawHeaderHook\']' => [
'restFiles' => [
'Deprecation-92062-MigrateRecordListControllerHooksToAnPSR-14Event.rst',
'Breaking-96107-DeprecatedFunctionalityRemoved.rst',
],
],
'$GLOBALS[\'TYPO3_CONF_VARS\'][\'SC_OPTIONS\'][\'recordlist/Modules/Recordlist/index.php\'][\'drawFooterHook\']' => [
'restFiles' => [
'Deprecation-92062-MigrateRecordListControllerHooksToAnPSR-14Event.rst',
'Breaking-96107-DeprecatedFunctionalityRemoved.rst',
],
],
'$GLOBALS[\'TYPO3_CONF_VARS\'][\'BE\'][\'lockBeUserToDBmounts\']' => [
Expand Down

This file was deleted.

5 changes: 0 additions & 5 deletions typo3/sysext/recordlist/Configuration/Services.yaml
Expand Up @@ -35,8 +35,3 @@ services:
TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList:
shared: false
public: true

TYPO3\CMS\Recordlist\HookProvider\AddToRecordListHookProvider:
tags:
- name: event.listener
identifier: 'record-list-content-legacy-hook'

0 comments on commit d9c3afa

Please sign in to comment.