From a2e433ca2eacde6e60431837a4138db7548e29b4 Mon Sep 17 00:00:00 2001 From: Dante Soares Date: Mon, 21 Jun 2021 10:43:07 -0500 Subject: [PATCH] Temporarily revert fix for scores after dropping questions to fix scores not loading for big courses --- app/subsystems/tasks/models/task.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/subsystems/tasks/models/task.rb b/app/subsystems/tasks/models/task.rb index 918f5470fe..7df1ed01ec 100644 --- a/app/subsystems/tasks/models/task.rb +++ b/app/subsystems/tasks/models/task.rb @@ -232,6 +232,7 @@ def late_work_penalty_per_period end def cached? + return true updated_at.nil? || task_plan.nil? || updated_at >= task_plan.updated_at end