mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 04:52:36 +02:00
This commit adds two new levels to the restore course structure form: subsection (a delegated section that belongs to a course module) and subactivity (a course module in a subsection). Restore form can only use information from the backup file. To allow activities to know if they are inside a subsection, the backup now incorporates an "insubsection" attribute. This attribute is used only for the form display but not for the restore logic.