Skip to content

Commit

Permalink
Temporarily revert fix for scores after dropping questions to fix sco…
Browse files Browse the repository at this point in the history
…res not loading for big courses
  • Loading branch information
Dantemss committed Jun 21, 2021
1 parent bf2df99 commit a2e433c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/subsystems/tasks/models/task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a2e433c

Please sign in to comment.