Permalink
Browse files

Added a useful message, to make the cron output more helpful in diagn…

…osing

"stuck" assignments.
  • Loading branch information...
1 parent d48f938 commit b9287b2fba32b546dba1914f48e713dd0ea8da53 gregb_cc committed Mar 13, 2003
Showing with 2 additions and 1 deletion.
  1. +2 −1 mod/assignment/lib.php
View
@@ -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")) {

0 comments on commit b9287b2

Please sign in to comment.