MDL-11040: get_complete_user_data doesn't get the complete user data. Replace with get_record to bring over the user's description.

This commit is contained in:
donal72 2007-10-16 08:51:57 +00:00
parent d5c60087a1
commit b263e3b721

View File

@ -89,7 +89,7 @@ class auth_plugin_mnet extends auth_plugin_base {
}
// session okay, try getting the user
if (!$user = get_complete_user_data('id', $mnet_session->userid)) {
if (!$user = get_record('user', 'id', $mnet_session->userid)) {
echo mnet_server_fault(3, get_string('authfail_usermismatch', 'mnet'));
exit;
}