As a rather large school, our site admins are going to really need to restore a "master" course to multiple sections in one click.
Is that what this is describing:
http://docs.moodle.org/20/en/Course_Management_block#Choose_a_Restore_File_.26_Metadata_CSV
If not, I've looked through the ~/moodle/backup/ directory, and on first glance, it seems there are two attacks I could take:
- Modify the currrent restore to take an optional "section_count" argument (default to 1).
- Add another const OPERATION_RESTORE_MULTIPLE and do a lot of copy/paste programming
Any opinions on either tack?
Or an even better approach?
We will submit a patch with whatever code is written, if any.