Merge branch 'wip-MDL-61175-MOODLE_34_STABLE' of https://github.com/kwiliarty/moodle into MOODLE_34_STABLE

This commit is contained in:
Eloy Lafuente (stronk7)
2018-01-22 01:24:52 +01:00
@@ -117,6 +117,8 @@ class restore_assign_activity_structure_step extends restore_activity_structure_
}
if (!isset($data->gradingduedate)) {
$data->gradingduedate = 0;
} else {
$data->gradingduedate = $this->apply_date_offset($data->gradingduedate);
}
if (!isset($data->markingworkflow)) {
$data->markingworkflow = 0;