Skip to content
Snippets Groups Projects
Commit 10636268 authored by Moritz Strohm's avatar Moritz Strohm
Browse files

removed non-existant "is_global" field from SQL statement, fixes #5111

Closes #5111

Merge request studip/studip!3822
parent 0197b620
No related branches found
No related tags found
No related merge requests found
......@@ -70,11 +70,11 @@ class AddLti13a extends Migration
$create_tool_stmt = $db->prepare(
"INSERT INTO `lti_tools`
(`id`, `name`, `launch_url`, `consumer_key`, `consumer_secret`,
`custom_parameters`, `send_lis_person`, `lti_version`, `is_global`,
`custom_parameters`, `send_lis_person`, `lti_version`,
`mkdate`, `chdate`)
VALUES
(:id, :name, :launch_url, :consumer_key, :consumer_secret,
:custom_parameters, :send_lis_person, '1.1', '0',
:custom_parameters, :send_lis_person, '1.1',
UNIX_TIMESTAMP(), UNIX_TIMESTAMP())"
);
$new_tool_id_stmt = $db->prepare("SELECT MAX(`id`) + 1 FROM `lti_tools`");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment