Commit c9e12de4 authored by Petr Skoda's avatar Petr Skoda
Browse files

Merge branch 'MDL-26405_qtype_exception_wip' of git://github.com/stronk7/moodle

parents 37695a6f 0ff7159e
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment