[ticket/10737] Removing unnecessary/obsolete code.

PHPBB3-10737