From 3ff01b2fb731fa32ebb8511d98b3db1eb45f62c5 Mon Sep 17 00:00:00 2001 From: Chris Scribner Date: Wed, 5 Oct 2011 14:43:15 -0400 Subject: [PATCH] Adding the lis_outcome_service_url to the launch --- mod/lti/locallib.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mod/lti/locallib.php b/mod/lti/locallib.php index 89bd8c5c47b..795cd1994d8 100644 --- a/mod/lti/locallib.php +++ b/mod/lti/locallib.php @@ -225,6 +225,10 @@ function lti_build_request($instance, $typeconfig, $course) { $requestparams["lis_person_contact_email_primary"] = $USER->email; } + //Add outcome service URL + $url = new moodle_url('/mod/lti/service.php'); + $requestparams['lis_outcome_service_url'] = $url->out(); + // Concatenate the custom parameters from the administrator and the instructor // Instructor parameters are only taken into consideration if the administrator // has giver permission