Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a929fd5
)
MDL-45645 mod_lti Add custom LTI request parameter ext_user_username
author
Sam Chaffee
<sam@moodlerooms.com>
Tue, 20 May 2014 21:34:21 +0000
(15:34 -0600)
committer
Sam Chaffee
<sam@moodlerooms.com>
Tue, 20 May 2014 21:34:21 +0000
(15:34 -0600)
mod/lti/locallib.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/lti/locallib.php
b/mod/lti/locallib.php
index
bb50e8b
..
ff76097
100644
(file)
--- a/
mod/lti/locallib.php
+++ b/
mod/lti/locallib.php
@@
-280,6
+280,7
@@
function lti_build_request($instance, $typeconfig, $course) {
$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 ||