[ticket/269] Remove IN_PHPBB check from functions file

B3P-269