Merge branch 'MDL-41249-24' of git://github.com/damyon/moodle into MOODLE_24_STABLE

This commit is contained in:
Dan Poltawski
2013-08-26 13:11:19 +08:00
@@ -124,6 +124,7 @@ class restore_assign_activity_structure_step extends restore_activity_structure_
// Note - the old contextid is required in order to be able to restore files stored in
// sub plugin file areas attached to the submissionid
$this->set_mapping('submission', $oldid, $newitemid, false, null, $this->task->get_old_contextid());
$this->set_mapping(restore_gradingform_plugin::itemid_mapping('submissions'), $oldid, $newitemid);
}
/**