MDL-31860 mod_forum: remove un-used function.