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

This commit is contained in:
Tim Hunt
2012-11-30 15:57:51 +00:00
parent 47dfbd9eb3
commit c23513dbe4
-3
View File
@@ -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();