diff --git a/mod/resource/type/file/resource.class.php b/mod/resource/type/file/resource.class.php index aaa71616354..8374a498f25 100644 --- a/mod/resource/type/file/resource.class.php +++ b/mod/resource/type/file/resource.class.php @@ -92,8 +92,6 @@ function set_parameters() { 'value' => $USER->id), 'userusername' => array('langstr' => get_string('username'), 'value' => $USER->username), - 'userpassword' => array('langstr' => get_string('password'), - 'value' => $USER->password), 'useridnumber' => array('langstr' => get_string('idnumber'), 'value' => $USER->idnumber), 'userfirstname' => array('langstr' => get_string('firstname'), diff --git a/mod/resource/type/repository/resource.class.php b/mod/resource/type/repository/resource.class.php index af103baaf84..3bd834c21c0 100644 --- a/mod/resource/type/repository/resource.class.php +++ b/mod/resource/type/repository/resource.class.php @@ -47,8 +47,6 @@ function set_parameters() { 'value' => $USER->id), 'userusername' => array('langstr' => get_string('username'), 'value' => $USER->username), - 'userpassword' => array('langstr' => get_string('password'), - 'value' => $USER->password), 'useridnumber' => array('langstr' => get_string('idnumber'), 'value' => $USER->idnumber), 'userfirstname' => array('langstr' => get_string('firstname'), @@ -423,7 +421,7 @@ function display() { echo "

"; echo ''; echo ""; echo '';