MDL-17071 fix misleading text - it's removing enrolments not assignments

This commit is contained in:
danmarsden
2008-11-05 07:13:26 +00:00
parent 5db2027e7b
commit ac7658aa33
+1 -1
View File
@@ -281,7 +281,7 @@
foreach ($rs as $assign) {
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");
}
}
}