Skip to content

Commit

Permalink
Improve task messaging - related to issue #55
Browse files Browse the repository at this point in the history
  • Loading branch information
danmarsden committed Nov 9, 2023
1 parent 26058cd commit 22d00d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/task/check_completed_refcourses.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function execute() {
$coursecompletion = new completion_completion(['userid' => $userid, 'course' => $subcourse->refcourse]);
if ($coursecompletion->is_complete()) {
// Notify the subcourse to check the completion status.
mtrace(" - user {$userid}: completed - notifying subcourse");
mtrace(" - user {$userid}: has completed referenced course, checking subcourse completion");
$completion->update_state($cm, COMPLETION_COMPLETE, $userid);
}
}
Expand Down

0 comments on commit 22d00d0

Please sign in to comment.