Skip to content

Commit

Permalink
Moodle plugin CI improved.
Browse files Browse the repository at this point in the history
  • Loading branch information
raja-lmsace committed Apr 20, 2024
1 parent 0c94b08 commit b19b0a7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion classes/helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ public static function update_emailvars($templatetext, $subject, $course, $user,
$course->category = is_number($course->category)
? core_course_category::get($course->category)->get_formatted_name() : $course->category;

$mod = clone $mod;
if (!empty($mod->id)) {
if ($DB->record_exists('course_modules', ['id' => $mod->id])) {
$module = $DB->get_record('course_modules', ['id' => $mod->id]);
Expand Down

0 comments on commit b19b0a7

Please sign in to comment.