Merge branch 'wip-MDL-61328-34' of git://github.com/marinaglancy/moodle into MOODLE_34_STABLE

This commit is contained in:
Jun Pataleta
2018-03-27 13:50:10 +08:00
+1 -2
View File
@@ -483,10 +483,9 @@ class step {
$record = $this->to_record();
unset($record->id);
$this->id = $DB->insert_record('tool_usertours_steps', $record);
$this->get_tour()->reset_step_sortorder();
}
$this->get_tour()->reset_step_sortorder();
$this->reload();
// Notify of a change to the step configuration.