Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make sure user language works OK (it does now)

  • Loading branch information...
commit a16c2180d06a60c93f0e19dbd82a6de837d27e1e 1 parent 562bbe9
martin authored
View
2  mod/assignment/lib.php
@@ -108,7 +108,7 @@ function assignment_cron () {
// Function to be run periodically according to the moodle cron
// Finds all assignment notifications that have yet to be mailed out, and mails them
- global $CFG;
+ global $CFG, $USER;
$cutofftime = time() - $CFG->maxeditingtime;
View
2  mod/forum/lib.php
@@ -869,7 +869,7 @@ function forum_cron () {
// Function to be run periodically according to the moodle cron
// Finds all posts that have yet to be mailed out, and mails them
- global $CFG;
+ global $CFG, $USER;
$cutofftime = time() - $CFG->maxeditingtime;
View
2  mod/journal/lib.php
@@ -47,7 +47,7 @@ function journal_cron () {
// Function to be run periodically according to the moodle cron
// Finds all journal notifications that have yet to be mailed out, and mails them
- global $CFG;
+ global $CFG, $USER;
$cutofftime = time() - $CFG->maxeditingtime;
Please sign in to comment.
Something went wrong with that request. Please try again.