mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
Merge branch 'MDL-49803_master' of git://github.com/dmonllao/moodle
This commit is contained in:
commit
7068541fff
@ -327,8 +327,13 @@ class restore_quiz_activity_structure_step extends restore_questions_activity_st
|
||||
|
||||
$data->quiz = $this->get_new_parentid('quiz');
|
||||
|
||||
$data->userid = $this->get_mappingid('user', $data->userid);
|
||||
$data->groupid = $this->get_mappingid('group', $data->groupid);
|
||||
if ($data->userid !== null) {
|
||||
$data->userid = $this->get_mappingid('user', $data->userid);
|
||||
}
|
||||
|
||||
if ($data->groupid !== null) {
|
||||
$data->groupid = $this->get_mappingid('group', $data->groupid);
|
||||
}
|
||||
|
||||
$data->timeopen = $this->apply_date_offset($data->timeopen);
|
||||
$data->timeclose = $this->apply_date_offset($data->timeclose);
|
||||
|
Loading…
x
Reference in New Issue
Block a user