MDL-49231 mod_glossary: External function get_entries_to_approve