Permalink
Browse files

Merge branch 'MDL-26405_qtype_exception_wip' of git://github.com/stro…

…nk7/moodle
  • Loading branch information...
2 parents 37695a6 + 0ff7159 commit c9e12de4e3ca4a874309f1a6df5909ab73616069 @skodak skodak committed Feb 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 backup/moodle2/restore_qtype_plugin.class.php
View
2 backup/moodle2/restore_qtype_plugin.class.php
@@ -139,7 +139,7 @@ public function process_question_answer($data) {
$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)

0 comments on commit c9e12de

Please sign in to comment.