MDL-4633: remove 'required' rule for user's profile description

This commit is contained in:
Rossiani Wijaya 2011-03-10 15:45:49 +08:00
parent c09604234a
commit 91c2b0f068

View File

@ -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');