Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
integration
prechecker
Commits
0ff7159e
Commit
0ff7159e
authored
Feb 15, 2011
by
Eloy Lafuente
Browse files
MDL-26405 restore - incorrectly thrown exception
parent
d911c72b
Changes
1
Hide whitespace changes
Inline
Side-by-side
backup/moodle2/restore_qtype_plugin.class.php
View file @
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)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment