MDL-51290 user: Expand picture section in profile by default

This commit is contained in:
Cameron Ball
2015-09-14 17:54:06 +08:00
parent e494078a27
commit eddc63f4e8
+1
View File
@@ -269,6 +269,7 @@ function useredit_shared_definition(&$mform, $editoroptions = null, $filemanager
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')));