Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
drachels committed Jan 31, 2024
1 parent 0d307b0 commit 7982d8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eedit.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 7982d8b

Please sign in to comment.