[ticket/12347] Remove unknown/unnecessary hack

PHPBB3-12347