Skip to content

Commit

Permalink
Merge pull request #1249 from edx/fix/cdodge/progress-perf
Browse files Browse the repository at this point in the history
we are already being passed in the module descriptor so we don't need to...
  • Loading branch information
David Ormsbee committed Nov 8, 2013
2 parents bd5abc8 + a93a848 commit a31ef26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/djangoapps/courseware/grades.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def progress_summary(student, request, course, field_data_cache):

# TODO: We need the request to pass into here. If we could forego that, our arguments
# would be simpler
course_module = get_module(student, request, course.location, field_data_cache, course.id, depth=None)
course_module = get_module_for_descriptor(student, request, course, field_data_cache, course.id)
if not course_module:
# This student must not have access to the course.
return None
Expand Down

0 comments on commit a31ef26

Please sign in to comment.