mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-7804 - Essay questions do not backup properly. Merged from MOODLE_16_STABLE.
This commit is contained in:
parent
2e0ed03e5e
commit
fb6179a16c
@ -114,6 +114,21 @@ class question_essay_qtype extends default_questiontype {
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Backup the extra information specific to an essay question - over and above
|
||||
* what is in the mdl_question table.
|
||||
*
|
||||
* @param file $bf The backup file to write to.
|
||||
* @param object $preferences the blackup options controlling this backup.
|
||||
* @param $questionid the id of the question being backed up.
|
||||
* @param $level indent level in the backup file - so it can be formatted nicely.
|
||||
*/
|
||||
function backup($bf, $preferences, $questionid, $level = 6) {
|
||||
return question_backup_answers($bf, $preferences, $questionid, $level);
|
||||
}
|
||||
|
||||
// Restore method not needed.
|
||||
}
|
||||
//// END OF CLASS ////
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user