[TASK] Protect RecordListController 31/58231/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Sat, 8 Sep 2018 13:55:32 +0000 (15:55 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sun, 9 Sep 2018 16:57:07 +0000 (18:57 +0200)
commit0971a9321862370b732d27fae2e9785e7e849ac8
tree6c3b1dda5b8f941c625bedd18f0e0bec0335a623
parent67725d8352d6b13d889ff1fa49a557bde40c0e4c
[TASK] Protect RecordListController

Protect properties and methods of RecordListController. The two
hooks 'drawHeaderHook' and 'drawFooterHook' now receive an instance
of the PSR-7 request, handing over the parent object is deprecated
and will be removed in v10.
The sys_notes hooks are adapted accordingly and used as a migration
example in the .rst file.

Resolves: #86198
Releases: master
Change-Id: Idee82d2e675eefaee1ead7435bc17cfc3a48356b
Reviewed-on: https://review.typo3.org/58231
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Documentation/Changelog/master/Deprecation-86198-ProtectedRecordListController.rst [new file with mode: 0644]
typo3/sysext/recordlist/Classes/Controller/RecordListController.php
typo3/sysext/sys_note/Classes/Hook/RecordListHook.php