]> git.mjollnir.org Git - moodle.git/commitdiff
New users created by admin also now default to site language
authormoodler <moodler>
Fri, 18 Oct 2002 08:48:44 +0000 (08:48 +0000)
committermoodler <moodler>
Fri, 18 Oct 2002 08:48:44 +0000 (08:48 +0000)
admin/user.php

index 780e1866faf6fe539472e749a3c97f12264934ef..5cc8f6d29ed629949e10ddbbacc3796d0f9dc0fd 100644 (file)
@@ -17,6 +17,7 @@
         $user->password  = md5("admin");
         $user->email     = "root@localhost";
         $user->confirmed = 1;
+        $user->lang = $CFG->lang;
         $user->maildisplay = 1;
         $user->timemodified = time();
 
@@ -72,6 +73,7 @@
         $user->username  = "changeme";
         $user->password  = "";
         $user->email     = "";
+        $user->lang      = $CFG->lang;
         $user->confirmed = 1;
         $user->timemodified = time();