From 2867a4c75c4edb47cd5ac3a2311ad72101894d4a Mon Sep 17 00:00:00 2001
From: Tobias Reischmann <tobias.reischmann@wi.uni-muenster.de>
Date: Wed, 19 Sep 2018 16:56:00 +0200
Subject: [PATCH] Added custom_tool as lti parameter

---
 lib.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib.php b/lib.php
index 9250ca5..b192ce1 100644
--- a/lib.php
+++ b/lib.php
@@ -92,6 +92,7 @@ function filter_opencast_create_parameters($endpoint) {
     $params['lti_message_type'] = 'basic-lti-launch-request';
     $urlparts = parse_url($CFG->wwwroot);
     $params['tool_consumer_instance_guid'] = $urlparts['host'];
+    $params['custom_tool'] = '/ltitools';
 
     // User data.
 	$params['user_id'] = $USER->id;
-- 
GitLab