We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f58e997 commit ff9ca77Copy full SHA for ff9ca77
lib/WeBWorK/Authen/LTIAdvantage.pm
@@ -326,11 +326,9 @@ sub authenticate ($self) {
326
$self->{initial_login} = 1;
327
}
328
329
- # If we are using grade passback then make sure the data we need to submit the grade is kept up to date.
330
- my $LTIGradeMode = $ce->{LTIGradeMode} // '';
331
- if ($LTIGradeMode eq 'course' || $LTIGradeMode eq 'homework') {
332
- WeBWorK::Authen::LTIAdvantage::SubmitGrade->new($c)->update_passback_data($self->{user_id});
333
- }
+ # In case we will use grade passback at some point,
+ # make sure the data we need to submit the grade is kept up to date.
+ WeBWorK::Authen::LTIAdvantage::SubmitGrade->new($c)->update_passback_data($self->{user_id});
334
335
return 1;
336
0 commit comments