MDL-36650 don't change question timecreated or timemodified on restore.

This commit is contained in:
Tim Hunt
2012-11-23 10:50:26 +00:00
parent 5f1d8f2a8f
commit d4eec64dc6
-3
View File
@@ -2904,9 +2904,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();