moodle/backup/util/dbops
Eloy Lafuente (stronk7) ede7105fd9 MDL-27233 move the restorer enrol/ra creation to the very beginning of the restore process
Some early steps in restore are using capability checks to decide how to
restore some information. But at that stage, if the course contents have
been removed and the user had perms at course level only (usually teacher)
the process can fail because some content is not restoreable due to the
lack of permissions.

Moving the restorer step to the beginning really helps is those situations
and it does not hurt at all.

Also, fixed one notice detected when testing this.
2011-11-25 01:07:27 +01:00
..
simpletest Backup MDL-24906 Fixed unit test failures 2010-11-01 16:33:30 +00:00
backup_controller_dbops.class.php MDL-28488 backup - conditionaly apply defaults based on mode 2011-09-11 19:35:56 +02:00
backup_dbops.class.php MDL-21432 backup 2.0 - initial commit. util dir 2010-04-21 09:17:06 +00:00
backup_plan_dbops.class.php MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently 2011-09-08 09:30:27 +12:00
backup_question_dbops.class.php MDL-22151 & MDL-22138 - Quiz activity backup & questions banks too! 2010-09-21 01:28:30 +00:00
backup_structure_dbops.class.php MDL-22151 & MDL-22138 - Quiz activity backup & questions banks too! 2010-09-21 01:28:30 +00:00
restore_controller_dbops.class.php MDL-21432 backup - move all the files handling on restore to use new backup_files_temp table 2010-07-18 11:13:03 +00:00
restore_dbops.class.php MDL-27233 move the restorer enrol/ra creation to the very beginning of the restore process 2011-11-25 01:07:27 +01:00