Commit 168a3aad by ichuang

masquerade - remove debug line, careful with ifs in course_nav.html

parent ffb125f8
......@@ -328,7 +328,6 @@ def get_module_for_descriptor(user, request, descriptor, model_data_cache, cours
return err_descriptor.xmodule(system)
system.set('user_is_staff', has_access(user, descriptor.location, 'staff', course_id))
log.debug('user_is_staff=%s' % system.user_is_staff)
_get_html = module.get_html
if wrap_xmodule_display == True:
......
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