mirror of
https://github.com/moodle/moodle.git
synced 2025-02-21 01:48:45 +01:00
The patch changes workshop_upgrade_module_instances() so that it processes old workshop records ordered by their id and it keeps the instances id by using import_record() instead of insert_record(). Thanks to this, there is no mapping of workshop ids needed so the function workshop_upgrade_workshop_id_mappings() is dropped and all callers use plain workshop record.