From 7982d8bf921c8a6b679970bb7ba433ded8c8ab16 Mon Sep 17 00:00:00 2001 From: AL Rachels Date: Wed, 31 Jan 2024 09:49:23 -0600 Subject: [PATCH] Code cleanup --- eedit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eedit.php b/eedit.php index be68e483..963b7ef3 100755 --- a/eedit.php +++ b/eedit.php @@ -40,7 +40,7 @@ $cm = get_coursemodule_from_id('mootyper', $id, 0, false, MUST_EXIST); $course = $DB->get_record('course', ['id' => $cm->course], '*', MUST_EXIST); -// TODO: Looks like $exercise and $rcrd are exact duplicates. Maybe need to combine? +// Looks like these two variables are exact duplicates. Maybe need to combine? $exercise = $DB->get_record('mootyper_exercises', ['id' => $ex], '*', MUST_EXIST); $rcrd = $DB->get_record('mootyper_exercises', ['id' => $ex], '*', MUST_EXIST);