Skip to content

Commit 07de0fc

Browse files
authored
TD-6145 Removing condition as per Kevin's confirmation
1 parent 40a4418 commit 07de0fc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

DigitalLearningSolutions.Web/Controllers/LearningPortalController/SelfAssessment.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,7 @@ public IActionResult SelfAssessment(int selfAssessmentId)
6767
);
6868
return RedirectToAction("StatusCode", "LearningSolutions", new { code = 403 });
6969
}
70-
if (selfAssessment.IncludeLearnerDeclarationPrompt)
71-
{
72-
selfAssessmentService.IncrementLaunchCount(selfAssessmentId, delegateUserId);
73-
}
70+
selfAssessmentService.IncrementLaunchCount(selfAssessmentId, delegateUserId);
7471
selfAssessmentService.UpdateLastAccessed(selfAssessmentId, delegateUserId);
7572
var supervisors = selfAssessmentService.GetAllSupervisorsForSelfAssessmentId(
7673
selfAssessmentId,
@@ -1906,3 +1903,4 @@ private static string RenderRazorViewToString(Controller controller, string view
19061903
}
19071904
}
19081905
}
1906+

0 commit comments

Comments
 (0)