Commit d6f960f6 by Bessie Steinberg Committed by Bill Filler

remove check on milestone

parent c5277d57
......@@ -66,8 +66,6 @@ class MilestonesAndSpecialExamsTransformer(BlockStructureTransformer):
if usage_info.has_staff_access:
return False
elif self.has_pending_milestones_for_user(block_key, usage_info):
return False #TODO: tag something here
elif self.gated_by_required_content(block_key, block_structure, required_content):
return True
elif (settings.FEATURES.get('ENABLE_SPECIAL_EXAMS', False) and
......@@ -100,6 +98,7 @@ class MilestonesAndSpecialExamsTransformer(BlockStructureTransformer):
Test whether the current user has any unfulfilled milestones preventing
them from accessing this block.
"""
# TODO: what attribute on the block holds data about the prereq?
return bool(milestones_helpers.get_course_content_milestones(
unicode(block_key.course_key),
unicode(block_key),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment