MDL-15249 towards cli install script

This commit is contained in:
skodak
2009-05-25 21:46:28 +00:00
parent 58c2e0697d
commit 1deff123aa
3 changed files with 7 additions and 7 deletions
-5
View File
@@ -84,11 +84,6 @@ class user_editadvanced_form extends moodleform {
// admin must choose some password and supply correct email
if (!empty($USER->newadminuser)) {
$mform->addRule('newpassword', get_string('required'), 'required', null, 'client');
$email_el =& $mform->getElement('email');
if ($email_el->getValue() == 'root@localhost') {
$email_el->setValue('');
}
}
// require password for new users