mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
Merge branch 'MDL-55454' of git://github.com/timhunt/moodle
This commit is contained in:
commit
e6ab38f3ca
1 changed files with 4 additions and 0 deletions
|
@ -239,6 +239,10 @@ class restore_quiz_activity_structure_step extends restore_questions_activity_st
|
|||
$data->overduehandling = get_config('quiz', 'overduehandling');
|
||||
}
|
||||
|
||||
// Old shufflequestions setting is now stored in quiz sections,
|
||||
// so save it here if necessary so it is available when we need it.
|
||||
$this->legacyshufflequestionsoption = !empty($data->shufflequestions);
|
||||
|
||||
// Insert the quiz record.
|
||||
$newitemid = $DB->insert_record('quiz', $data);
|
||||
// Immediately after inserting "activity" record, call this.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue