mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-4633: remove 'required' rule for user's profile description
This commit is contained in:
parent
c09604234a
commit
91c2b0f068
@ -35,7 +35,6 @@ class user_edit_form extends moodleform {
|
||||
useredit_shared_definition($mform, $editoroptions);
|
||||
|
||||
/// extra settigs
|
||||
$mform->addRule('description_editor', $strrequired, 'required', null, 'client');
|
||||
if (!empty($CFG->gdversion) and !empty($CFG->disableuserimages)) {
|
||||
$mform->removeElement('deletepicture');
|
||||
$mform->removeElement('imagefile');
|
||||
|
Loading…
x
Reference in New Issue
Block a user