[CLEANUP] Drop commented-out code

Change-Id: I617d983258c281dc0f7ac92cc871d3e8aed2ed6b
Resolves: #58219
Releases: 6.2
Reviewed-on: https://review.typo3.org/29671
Reviewed-by: Nico de Haen
Tested-by: Nico de Haen