]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-8804 two digests per day - merged from MOODLE_18_STABLE
authorskodak <skodak>
Wed, 21 Mar 2007 22:17:41 +0000 (22:17 +0000)
committerskodak <skodak>
Wed, 21 Mar 2007 22:17:41 +0000 (22:17 +0000)
mod/forum/lib.php

index 02f5fea995c6b6cae8a8e2e29427d3c34f6114ad..f2f93031ffb5e156dce5364e336e28cd9f0d92c3 100644 (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