From ad9ff3d39247e602b76c08bb19e02fb7dcd532ca Mon Sep 17 00:00:00 2001 From: skodak Date: Wed, 21 Mar 2007 22:17:41 +0000 Subject: [PATCH] MDL-8804 two digests per day - merged from MOODLE_18_STABLE --- mod/forum/lib.php | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5