Commit 5bfd9eb0 by Bill Filler

cleanup

parent 41d86992
...@@ -261,7 +261,7 @@ class SequenceModule(SequenceFields, ProctoringFields, XModule): ...@@ -261,7 +261,7 @@ class SequenceModule(SequenceFields, ProctoringFields, XModule):
'hidden_content.html', 'hidden_content.html',
{ {
'self_paced': course.self_paced, 'self_paced': course.self_paced,
'progress_url': context.get('progress_url') 'progress_url': context.get('progress_url'),
} }
) )
......
...@@ -493,7 +493,6 @@ def _has_access_descriptor(user, action, descriptor, course_key=None): ...@@ -493,7 +493,6 @@ def _has_access_descriptor(user, action, descriptor, course_key=None):
return ( return (
_visible_to_nonstaff_users(descriptor) and _visible_to_nonstaff_users(descriptor) and
# _can_access_descriptor_with_milestones(user, descriptor, course_key) and
( (
_has_detached_class_tag(descriptor) or _has_detached_class_tag(descriptor) or
check_start_date(user, descriptor.days_early_for_beta, descriptor.start, course_key) check_start_date(user, descriptor.days_early_for_beta, descriptor.start, course_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