Permalink
Browse files

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

  • Loading branch information...
timhunt authored and Sam Hemelryk committed Nov 15, 2012
1 parent 95ae9d9 commit 79bf1e37ca7f002a7db7105e23ea60bc228fadff
Showing with 0 additions and 3 deletions.
  1. +0 −3 backup/moodle2/restore_stepslib.php
@@ -3081,9 +3081,6 @@ protected function process_question($data) {
$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();

0 comments on commit 79bf1e3

Please sign in to comment.