Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit d4eec64dc6f7bf371ff43edda2f6efe8b4a66e64 1 parent 5f1d8f2
@timhunt timhunt authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  backup/moodle2/restore_stepslib.php
View
3  backup/moodle2/restore_stepslib.php
@@ -2904,9 +2904,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();
Please sign in to comment.
Something went wrong with that request. Please try again.