[ticket/11768] Removed the IN_PHPBB checks

PHPBB3-11768