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

This commit is contained in:
Sam Hemelryk
2012-12-11 16:11:08 +13:00
-3
View File
@@ -2913,9 +2913,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();