#69823Optimizing ElementHistoryController
Description
The function getButtons() instantiates the class RecordHistory only for getting the returnUrl parameter.
This should be replaced by GeneralUtility::_GP() and GeneralUtility::sanitizeLocalUrl()
The function getButtons() instantiates the class RecordHistory only for getting the returnUrl parameter.
This should be replaced by GeneralUtility::_GP() and GeneralUtility::sanitizeLocalUrl()