Merge branch 'MDL-51290-master' of git://github.com/cameron1729/moodle

This commit is contained in:
Andrew Nicols
2015-09-15 13:05:30 +08:00
+1
View File
@@ -366,6 +366,7 @@ function useredit_shared_definition(&$mform, $editoroptions, $filemanageroptions
if (empty($USER->newadminuser)) {
$mform->addElement('header', 'moodle_picture', get_string('pictureofuser'));
$mform->setExpanded('moodle_picture', true);
if (!empty($CFG->enablegravatar)) {
$mform->addElement('html', html_writer::tag('p', get_string('gravatarenabled')));