Merge branch 'MDL-45645_LTIUsernameParam' of https://github.com/moodlerooms/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2014-06-25 01:28:35 +02:00
commit 025fa4fc74

View File

@ -332,6 +332,7 @@ function lti_build_request($instance, $typeconfig, $course, $typeid = null) {
$requestparams['lis_person_name_given'] = $USER->firstname;
$requestparams['lis_person_name_family'] = $USER->lastname;
$requestparams['lis_person_name_full'] = $USER->firstname." ".$USER->lastname;
$requestparams['ext_user_username'] = $USER->username;
}
if ( $typeconfig['sendemailaddr'] == LTI_SETTING_ALWAYS ||