[TASK] Remove unused methods

Resolves: #58255
Releases: 6.2

Change-Id: I28729bb2443079a997c6eeb6b6839af428d51bb4
Reviewed-on: https://review.typo3.org/29753
Reviewed-by: Nico de Haen
Tested-by: Nico de Haen