From 5cbb1995a23ab60284f27e3ccafb240ad8cbe979 Mon Sep 17 00:00:00 2001 From: poleumdev <64774219+poleumdev@users.noreply.github.com> Date: Wed, 15 Jul 2020 10:53:02 +0200 Subject: [PATCH] Update restored.php --- restored.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restored.php b/restored.php index 2228a6a..5000ec9 100644 --- a/restored.php +++ b/restored.php @@ -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); }