]> git.mjollnir.org Git - moodle.git/commitdiff
Added a useful message, to make the cron output more helpful in diagnosing
authorgregb_cc <gregb_cc>
Thu, 13 Mar 2003 20:59:31 +0000 (20:59 +0000)
committergregb_cc <gregb_cc>
Thu, 13 Mar 2003 20:59:31 +0000 (20:59 +0000)
"stuck" assignments.

mod/assignment/lib.php

index 1efcc909e724cc13e8789e5b5e406fce1f370c42..682df5ee789dd39aa91541fab9e1204149c7b642 100644 (file)
@@ -132,7 +132,8 @@ function assignment_cron () {
             }
 
             if (! isstudent($course->id, $user->id) and !isteacher($course->id, $user->id)) {
-                continue;  // Not an active participant
+                echo "$user->firstname $user->lastname not an active participant in $course->shortname\n";
+                continue;
             }
 
             if (! $teacher = get_record("user", "id", "$submission->teacher")) {