From 499fd0e450c7435215f70513e19e90771aae342b Mon Sep 17 00:00:00 2001 From: hunytalk Date: Thu, 30 Jan 2020 01:25:21 +0500 Subject: [PATCH] Remove reads from old column --- openedx/features/course_duration_limits/access.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openedx/features/course_duration_limits/access.py b/openedx/features/course_duration_limits/access.py index 6a0f30e8c2..4a393a99e8 100644 --- a/openedx/features/course_duration_limits/access.py +++ b/openedx/features/course_duration_limits/access.py @@ -109,7 +109,7 @@ def get_user_course_expiration_date(user, course): # Content availability date is equivalent to max(enrollment date, course start date) # for most people. Using the schedule date will provide flexibility to deal with # more complex business rules in the future. - content_availability_date = enrollment.schedule.start + content_availability_date = enrollment.schedule.start_date # We have anecdotally observed a case where the schedule.start was # equal to the course start, but should have been equal to the enrollment start # https://openedx.atlassian.net/browse/PROD-58