mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Merge branch 'MDL-29528' of git://github.com/timhunt/moodle
This commit is contained in:
commit
789e95ddde
@ -197,7 +197,7 @@ function xmldb_qtype_calculated_upgrade($oldversion) {
|
||||
$record->incorrectfeedbackformat = FORMAT_HTML;
|
||||
} else {
|
||||
$record->correctfeedbackformat = $record->oldquestiontextformat;
|
||||
$record->partiallycorrectfeedback = $record->oldquestiontextformat;
|
||||
$record->partiallycorrectfeedbackformat = $record->oldquestiontextformat;
|
||||
$record->incorrectfeedbackformat = $record->oldquestiontextformat;
|
||||
}
|
||||
$DB->update_record('question_calculated_options', $record);
|
||||
|
@ -82,7 +82,7 @@ class moodle1_qtype_multichoice_handler extends moodle1_qtype_handler {
|
||||
$multichoice['incorrectfeedbackformat'] = FORMAT_HTML;
|
||||
} else {
|
||||
$multichoice['correctfeedbackformat'] = $oldquestiontextformat;
|
||||
$multichoice['partiallycorrectfeedback'] = $oldquestiontextformat;
|
||||
$multichoice['partiallycorrectfeedbackformat'] = $oldquestiontextformat;
|
||||
$multichoice['incorrectfeedbackformat'] = $oldquestiontextformat;
|
||||
}
|
||||
|
||||
|
@ -118,7 +118,7 @@ function xmldb_qtype_multichoice_upgrade($oldversion) {
|
||||
$record->incorrectfeedbackformat = FORMAT_HTML;
|
||||
} else {
|
||||
$record->correctfeedbackformat = $record->oldquestiontextformat;
|
||||
$record->partiallycorrectfeedback = $record->oldquestiontextformat;
|
||||
$record->partiallycorrectfeedbackformat = $record->oldquestiontextformat;
|
||||
$record->incorrectfeedbackformat = $record->oldquestiontextformat;
|
||||
}
|
||||
$DB->update_record('question_multichoice', $record);
|
||||
|
Loading…
x
Reference in New Issue
Block a user