Skip to content
Browse files

MDL-34123 use user's lang when sending new emails

  • Loading branch information...
1 parent 68b0cae commit 3721bbf279d0905fcde29665f033df684a7eac81 @skodak skodak committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cronlib.php
2 lib/cronlib.php
@@ -208,7 +208,7 @@ function cron_run() {
if ($DB->count_records('user_preferences', array('name'=>'create_password', 'value'=>'1'))) {
mtrace('Creating passwords for new users...');
$newusers = $DB->get_recordset_sql("SELECT as id,, u.firstname,
- u.lastname, u.username,
+ u.lastname, u.username, u.lang, as prefid
FROM {user} u
JOIN {user_preferences} p ON

0 comments on commit 3721bbf

Please sign in to comment.
Something went wrong with that request. Please try again.