From: skodak Date: Wed, 21 Mar 2007 22:17:41 +0000 (+0000) Subject: MDL-8804 two digests per day - merged from MOODLE_18_STABLE X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ad9ff3d39247e602b76c08bb19e02fb7dcd532ca;p=moodle.git MDL-8804 two digests per day - merged from MOODLE_18_STABLE --- diff --git a/mod/forum/lib.php b/mod/forum/lib.php index 02f5fea995..f2f93031ff 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -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