MDL-41249 assign: Fix incorrect gradingform restore step
authorDamyon Wiese <damyon@moodle.com>
Wed, 28 Aug 2013 08:29:19 +0000 (16:29 +0800)
committerDamyon Wiese <damyon@moodle.com>
Wed, 28 Aug 2013 08:29:19 +0000 (16:29 +0800)
commit1149b5d205fb34242598f9d7839114a02b0eb6ff
tree26bc83b66280fd9bc1c9404983b48ce61d3b4ae0
parentd9cf3ca0b0da1c858f0832b1ebb6764d522a590f
MDL-41249 assign: Fix incorrect gradingform restore step

The mapping in the previous patch was wrong - mod assign uses
the area "submissions" but the itemid is the grade->id not the submission->id.
mod/assign/backup/moodle2/restore_assign_stepslib.php