]> git.mjollnir.org Git - moodle.git/commitdiff
Untested small hack to maybe fix the digest language
authormoodler <moodler>
Wed, 21 Jul 2004 09:42:27 +0000 (09:42 +0000)
committermoodler <moodler>
Wed, 21 Jul 2004 09:42:27 +0000 (09:42 +0000)
mod/forum/lib.php

index 9e33b4273be14b92dd25f08281783f436ab4de2c..c3cb841b1750d3906a9883e044ee55bd4c19b2dd 100644 (file)
@@ -313,6 +313,8 @@ function forum_cron () {
         }
     }
 
+    unset($CFG->courselang);
+
     /// Now see if there are any digest mails waiting to be sent, and if we should send them
     $datenow = getdate();
     $lastcron = get_field('modules', 'lastcron', 'name', 'forum');