Merge branch 'MDL-29528' of git://github.com/timhunt/moodle
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user