MDL-8804 two digests per day - merged from MOODLE_18_STABLE

This commit is contained in:
skodak 2007-03-21 22:17:41 +00:00
parent 13ce9e4f01
commit ad9ff3d392

View File

@ -476,6 +476,9 @@ function forum_cron() {
}
}
$USER = clone($cronuser);
course_setup(SITEID);
$sitetimezone = $CFG->timezone;
/// Now see if there are any digest mails waiting to be sent, and if we should send them