Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding the lis_outcome_service_url to the launch

  • Loading branch information...
commit 3ff01b2fb731fa32ebb8511d98b3db1eb45f62c5 1 parent 5e078d6
@scriby scriby authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 mod/lti/locallib.php
View
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.