MDL-44287 glossary: use course mod api to create new module when importing as new
MDL-44287 glossary: do not output before redirecting