forum cron MDL-24843 fix typo in mtrace message.

Fix thanks to Colin Chambers.
This commit is contained in:
Tim Hunt 2010-10-25 13:11:51 +00:00
parent 3ed3e8d412
commit 9c670df6db

View File

@ -452,7 +452,7 @@ function forum_cron() {
if ($cm = get_coursemodule_from_instance('forum', $forumid, $courseid)) {
$coursemodules[$forumid] = $cm;
} else {
mtrace('Could not course module for forum '.$forumid);
mtrace('Could not find course module for forum '.$forumid);
unset($posts[$pid]);
continue;
}