Skip to content
GitLab
Menu
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
c9e12de4
Commit
c9e12de4
authored
Feb 16, 2011
by
Petr Skoda
Browse files
Merge branch 'MDL-26405_qtype_exception_wip' of
git://github.com/stronk7/moodle
parents
37695a6f
0ff7159e
Changes
1
Hide whitespace changes
Inline
Side-by-side
backup/moodle2/restore_qtype_plugin.class.php
View file @
c9e12de4
...
...
@@ -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
.
Attach a 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