[ticket/12039] Remove debug code

PHPBB3-12039