[ticket/12747] Remove some methods which are not used anymore

PHPBB3-12747