mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-36650 don't change question timecreated or timemodified on restore.
This commit is contained in:
parent
47dfbd9eb3
commit
c23513dbe4
@ -3072,9 +3072,6 @@ class restore_create_categories_and_questions extends restore_structure_step {
|
||||
$data->penalty = 1;
|
||||
}
|
||||
|
||||
$data->timecreated = $this->apply_date_offset($data->timecreated);
|
||||
$data->timemodified = $this->apply_date_offset($data->timemodified);
|
||||
|
||||
$userid = $this->get_mappingid('user', $data->createdby);
|
||||
$data->createdby = $userid ? $userid : $this->task->get_userid();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user