mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 03:16:42 +02:00
MDL-79863 qtype_ordering: Ordering M4.2: Changes to export_to_xml - remove unused answerfiles (#74)
Thanks Anupama!
This commit is contained in:
parent
4b80d7b6e0
commit
4e825f2960
1 changed files with 0 additions and 1 deletions
|
@ -806,7 +806,6 @@ class qtype_ordering extends question_type {
|
||||||
foreach ($question->options->answers as $answer) {
|
foreach ($question->options->answers as $answer) {
|
||||||
$output .= ' <answer fraction="'.$answer->fraction.'" '.$format->format($answer->answerformat).">\n";
|
$output .= ' <answer fraction="'.$answer->fraction.'" '.$format->format($answer->answerformat).">\n";
|
||||||
$output .= $format->writetext($answer->answer, 3);
|
$output .= $format->writetext($answer->answer, 3);
|
||||||
$output .= $format->write_files($answer->answerfiles);
|
|
||||||
if ($feedback = trim($answer->feedback)) { // Usually there is no feedback.
|
if ($feedback = trim($answer->feedback)) { // Usually there is no feedback.
|
||||||
$output .= ' <feedback '.$format->format($answer->feedbackformat).">\n";
|
$output .= ' <feedback '.$format->format($answer->feedbackformat).">\n";
|
||||||
$output .= $format->writetext($answer->feedback, 4);
|
$output .= $format->writetext($answer->feedback, 4);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue