Merge branch 'MDL-36650' of git://github.com/timhunt/moodle

This commit is contained in:
Sam Hemelryk 2012-12-11 16:11:13 +13:00
commit 6e68a3a93c

View File

@ -3081,9 +3081,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();