From 5547ff5ac5b086259b1e05eeadc493b2f52d8ce3 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Tue, 12 May 2020 17:54:37 +0200 Subject: [PATCH] Fix comment --- app/controllers/concerns/lti.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/concerns/lti.rb b/app/controllers/concerns/lti.rb index 62e2899d..45c3d9db 100644 --- a/app/controllers/concerns/lti.rb +++ b/app/controllers/concerns/lti.rb @@ -16,8 +16,8 @@ module Lti private :build_tool_provider - # @submission.exercise_id.nil? ==> the user has logged out. All session data is to be destroyed - # @submission.exercise_id.exists? ==> the user has submitted the results of an exercise to the consumer. + # exercise_id.nil? ==> the user has logged out. All session data is to be destroyed + # exercise_id.exists? ==> the user has submitted the results of an exercise to the consumer. # Only the lti_parameters are deleted. def clear_lti_session_data(exercise_id = nil, user_id = nil, consumer_id = nil) if (exercise_id.nil?)