Permalink
Browse files

MDL-11040: get_complete_user_data doesn't get the complete user data.…

… Replace with get_record to bring over the user's description.
  • Loading branch information...
1 parent c47b3a9 commit 753775479c0e3395c3b4bda5a3faccc0c7250969 donal72 committed Oct 16, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 auth/mnet/auth.php
View
@@ -89,7 +89,7 @@ function user_authorise($token, $useragent) {
}
// 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;
}

0 comments on commit 7537754

Please sign in to comment.