moodle/backup
David Mudrak d46badb176 MDL-28006 restore - improved handling of gradebook 1.9 backups
On contrary from a backup created in 2.0, the file gradebook.xml in the
converted MBZ can contain the course grade_item without the
corresponding grade_category record which is something restore_stepslib
did not expect. This patch fixes two places:

1) the gradebook restore does not use mapped itemid but calls
grade_category::fetch_course_category() to get the actual category to
link the course_item with

2) after_execute makes sure that the mapping actually exists before
trying to move the activities from the default root category
2011-06-30 22:40:54 +02:00
..
bb MDL-14589 blocking execution of bb convert 2010-08-29 10:09:03 +00:00
cc MDL-27913 Stray whitespace in backup. 2011-06-17 19:37:20 +01:00
controller MDL-27379 Backup conversion logging facilities 2011-06-06 13:56:06 +02:00
converter MDL-28006 Fixed grades subpath handling 2011-06-30 15:17:03 +02:00
moodle2 MDL-28006 restore - improved handling of gradebook 1.9 backups 2011-06-30 22:40:54 +02:00
util MDLQA-1147 Fixed a typo in the exception class name 2011-06-29 00:10:59 +02:00
backup.class.php MDL-28038 backup - bump 2011-06-26 19:15:06 +02:00
backup.php backup MDL-24962 Backup, Restore, and Import all now explicitly destroy the UI, controller, and stage objects upon completion. 2010-11-18 02:09:23 +00:00
backup_scheduled.php MDL-24321 switching to stdClass in /backup/ 2010-09-21 08:47:01 +00:00
backupfilesedit.php MDL-26623 fix file permissions 2011-03-01 12:26:49 +01:00
backupfilesedit_form.php "MDL-23910, fixed breadcrumb for backup files editing ui" 2010-08-30 03:44:44 +00:00
backuplib.php MDL-22135 - logs restore, course and activities + cleanup 2010-11-11 19:46:04 +00:00
import.php backup MDL-24962 Backup, Restore, and Import all now explicitly destroy the UI, controller, and stage objects upon completion. 2010-11-18 02:09:23 +00:00
lib.php MDL-25637 Fixed whitespace 2011-01-24 16:20:30 +08:00
log.php MDL-21666 backup & restore caps - moving to new naming schema. More to come. 2010-02-19 17:50:14 +00:00
restore.php The first attempt to include backup conversion in the restore process 2011-05-18 01:55:27 +02:00
restorefile.php MDL-26623 fix file permissions 2011-03-01 12:26:49 +01:00
restorefile_form.php MDL-26623 fix file permissions 2011-03-01 12:26:49 +01:00
restorelib.php MDL-25637 Fixed whitespace 2011-01-24 16:20:30 +08:00