[feature/revisions] Remove redundant str_replace()

PHPBB3-10755