mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Merge branch 'MDL-26405_qtype_exception_wip' of git://github.com/stronk7/moodle
This commit is contained in:
commit
c9e12de4e3
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ abstract class restore_qtype_plugin extends restore_plugin {
|
|||
$info->filequestionid = $oldquestionid;
|
||||
$info->dbquestionid = $newquestionid;
|
||||
$info->answer = $data->answertext;
|
||||
throw restore_step_exception('error_question_answers_missing_in_db', $info);
|
||||
throw new restore_step_exception('error_question_answers_missing_in_db', $info);
|
||||
}
|
||||
}
|
||||
// Create mapping (we'll use this intensively when restoring question_states. And also answerfeedback files)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue