mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 01:46:45 +02:00
Merge branch 'w27_MDL-34123_m23_newpasslang' of git://github.com/skodak/moodle into MOODLE_23_STABLE
This commit is contained in:
commit
f95e28e0ff
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ function cron_run() {
|
||||||
if ($DB->count_records('user_preferences', array('name'=>'create_password', 'value'=>'1'))) {
|
if ($DB->count_records('user_preferences', array('name'=>'create_password', 'value'=>'1'))) {
|
||||||
mtrace('Creating passwords for new users...');
|
mtrace('Creating passwords for new users...');
|
||||||
$newusers = $DB->get_recordset_sql("SELECT u.id as id, u.email, u.firstname,
|
$newusers = $DB->get_recordset_sql("SELECT u.id as id, u.email, u.firstname,
|
||||||
u.lastname, u.username,
|
u.lastname, u.username, u.lang,
|
||||||
p.id as prefid
|
p.id as prefid
|
||||||
FROM {user} u
|
FROM {user} u
|
||||||
JOIN {user_preferences} p ON u.id=p.userid
|
JOIN {user_preferences} p ON u.id=p.userid
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue