From 22d00d0af0722e3f626e8af97c991cfe8b3a1403 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Thu, 9 Nov 2023 19:52:14 +1300 Subject: [PATCH] Improve task messaging - related to issue #55 --- classes/task/check_completed_refcourses.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/task/check_completed_refcourses.php b/classes/task/check_completed_refcourses.php index 1f339ee..44ee291 100644 --- a/classes/task/check_completed_refcourses.php +++ b/classes/task/check_completed_refcourses.php @@ -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); } }