Skip to content

Commit

Permalink
Update restored.php
Browse files Browse the repository at this point in the history
  • Loading branch information
poleumdev authored Jul 15, 2020
1 parent e898358 commit 5cbb199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion restored.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
$DB->delete_records('tool_attestoodle_learner', array('trainingid' => $idtraining));
$DB->delete_records('tool_attestoodle_user_style', array('trainingid' => $idtraining));
// Delete model.
$DB->delete_record('tool_attestoodle_train_style', array('trainingid' => $idtraining));
$DB->delete_records('tool_attestoodle_train_style', array('trainingid' => $idtraining));
} else {
$idtraining = $DB->insert_record('tool_attestoodle_training', $dataobject);
}
Expand Down

0 comments on commit 5cbb199

Please sign in to comment.