diff options
| author | Moritz Strohm <strohm@data-quest.de> | 2025-04-25 14:52:18 +0200 |
|---|---|---|
| committer | Moritz Strohm <strohm@data-quest.de> | 2025-04-25 14:52:18 +0200 |
| commit | b57cf6be0337246612cc9c8f49050bdf7b3299b4 (patch) | |
| tree | c8085937f3a07b9aba1b10297dc2beadeb36866e /app | |
| parent | 8f9929881980254601840949c056ca6216268a37 (diff) | |
use resource link instead of deployment idbiest-05112
Diffstat (limited to 'app')
| -rw-r--r-- | app/controllers/course/lti.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/controllers/course/lti.php b/app/controllers/course/lti.php index 9d84297..67cf65e 100644 --- a/app/controllers/course/lti.php +++ b/app/controllers/course/lti.php @@ -278,7 +278,6 @@ class Course_LtiController extends StudipController $ags_url_parameters = [ 'cid' => $this->course_id, 'tool_id' => $this->resource_link->deployment->tool_id, - 'deployment_id' => $this->resource_link->deployment_id, 'cancel_login' => '1' ]; @@ -312,8 +311,8 @@ class Course_LtiController extends StudipController 'https://purl.imsglobal.org/spec/lti-ags/scope/result.readonly', 'https://purl.imsglobal.org/spec/lti-ags/scope/score' ], - $this->url_for(sprintf('lti/ags/%d/line_items', $this->resource_link->deployment->id), $ags_url_parameters), - $this->url_for(sprintf('lti/ags/%d/line_item', $this->resource_link->deployment->id), $ags_url_parameters) + $this->url_for(sprintf('lti/ags/%d/line_items', $this->resource_link->id), $ags_url_parameters), + $this->url_for(sprintf('lti/ags/%d/line_item', $this->resource_link->id), $ags_url_parameters) ) ], $this->resource_link->deployment->getCustomLtiParameterArray(), |
