MDL-59436 admin: Add city and country to $CFG->showuseridentity
authorJun Pataleta <jun@moodle.com>
Wed, 19 Jul 2017 04:08:17 +0000 (12:08 +0800)
committerJun Pataleta <jun@moodle.com>
Fri, 21 Jul 2017 00:46:12 +0000 (08:46 +0800)
admin/settings/users.php

index 950c2aa..a82d5d6 100644 (file)
@@ -189,6 +189,8 @@ if ($hassiteconfig
                     'phone2'      => new lang_string('phone2'),
                     'department'  => new lang_string('department'),
                     'institution' => new lang_string('institution'),
                     'phone2'      => new lang_string('phone2'),
                     'department'  => new lang_string('department'),
                     'institution' => new lang_string('institution'),
+                    'city'        => new lang_string('city'),
+                    'country'     => new lang_string('country'),
                 )));
         $setting = new admin_setting_configtext('fullnamedisplay', new lang_string('fullnamedisplay', 'admin'),
             new lang_string('configfullnamedisplay', 'admin'), 'language', PARAM_TEXT, 50);
                 )));
         $setting = new admin_setting_configtext('fullnamedisplay', new lang_string('fullnamedisplay', 'admin'),
             new lang_string('configfullnamedisplay', 'admin'), 'language', PARAM_TEXT, 50);