MDL-31314 gradebook restore: fix category.depth on restore.
authorTim Hunt <T.J.Hunt@open.ac.uk>
Fri, 20 Jan 2012 15:53:05 +0000 (15:53 +0000)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Mon, 30 Jan 2012 12:31:43 +0000 (12:31 +0000)
commita60835c721145a13aeb23e58345afc0c561f4aa9
treef7895bd48c7f8c6ddc6321aa8ad2e5e891f386f9
parent216f6d8e9d7e7473890ce0cb42332396e33740a0
MDL-31314 gradebook restore: fix category.depth on restore.

Without this, restoring backups made with the OU's custom 'restore from
1.9' feature, and possibly other people's custom converstion code, does
not work properly.

Also, fix poor recordset code.
backup/moodle2/restore_stepslib.php