dd3508df5b
Instead of using set_coursemodule_name() to proceed with the name change we perform the change earlier in the process, both to avoid duplicate events caused by the renaming function and also to get the new name used by all proper generated events.