mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Merge branch 'MDL-67883-squash' of https://github.com/Chocolate-lightning/moodle
This commit is contained in:
commit
618b13e1f5
87 changed files with 5262 additions and 41 deletions
|
@ -104,7 +104,8 @@ class provider implements
|
|||
'lastnamephonetic' => 'privacy:metadata:lastnamephonetic',
|
||||
'firstnamephonetic' => 'privacy:metadata:firstnamephonetic',
|
||||
'middlename' => 'privacy:metadata:middlename',
|
||||
'alternatename' => 'privacy:metadata:alternatename'
|
||||
'alternatename' => 'privacy:metadata:alternatename',
|
||||
'moodlenetprofile' => 'privacy:metadata:moodlenetprofile'
|
||||
];
|
||||
|
||||
$passwordhistory = [
|
||||
|
|
|
@ -300,6 +300,9 @@ function useredit_shared_definition(&$mform, $editoroptions, $filemanageroptions
|
|||
$mform->setDefault('maildisplay', core_user::get_property_default('maildisplay'));
|
||||
$mform->addHelpButton('maildisplay', 'emaildisplay');
|
||||
|
||||
$mform->addElement('text', 'moodlenetprofile', get_string('moodlenetprofile', 'user'));
|
||||
$mform->setType('moodlenetprofile', PARAM_RAW_TRIMMED);
|
||||
|
||||
$mform->addElement('text', 'city', get_string('city'), 'maxlength="120" size="21"');
|
||||
$mform->setType('city', PARAM_TEXT);
|
||||
if (!empty($CFG->defaultcity)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue