Skip to content
Snippets Groups Projects
Commit 09d41b12 authored by srosse's avatar srosse
Browse files

OO-3886: count attempts in LTI element for "auto" start too

parent 7447d2ad
No related branches found
No related tags found
No related merge requests found
......@@ -364,6 +364,7 @@ public class LTIRunController extends BasicController {
Boolean skipLaunchPage = config.getBooleanEntry(BasicLTICourseNode.CONFIG_SKIP_LAUNCH_PAGE);
if(!ltiModule.isForceLaunchPage() && skipLaunchPage != null && skipLaunchPage.booleanValue()) {
// start the content immediately
courseNode.incrementUserAttempts(userCourseEnv, Role.user);
openBasicLTIContent(ureq);
} else {
// or show the start button
......
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