From b92ef5be76aa1964895c15dc163fd3fc208e158d Mon Sep 17 00:00:00 2001 From: danmarsden Date: Wed, 5 Nov 2008 07:14:08 +0000 Subject: [PATCH] MDL-17071 fix misleading text - it's removing enrolments not assignments - merged from HEAD --- admin/cron.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/cron.php b/admin/cron.php index 22af9512cb8..c32dc00bd17 100644 --- a/admin/cron.php +++ b/admin/cron.php @@ -245,7 +245,7 @@ while ($assign = rs_fetch_next_record($rs)) { if ($context = get_context_instance(CONTEXT_COURSE, $assign->courseid)) { if (role_unassign(0, $assign->userid, 0, $context->id)) { - mtrace("Deleted assignment for user $assign->userid from course $assign->courseid"); + mtrace("removing user $assign->userid from course $assign->courseid as they have not accessed the course for over $CFG->longtimenosee days"); } } }