Commit 062230b6 by Malik Shahzad

SOL-2017: Unused code removed.

parent a250b03b
...@@ -131,13 +131,6 @@ def _create_entrance_exam(request, course_key, entrance_exam_minimum_score_pct=N ...@@ -131,13 +131,6 @@ def _create_entrance_exam(request, course_key, entrance_exam_minimum_score_pct=N
return HttpResponse(status=400) return HttpResponse(status=400)
# Create the entrance exam item (currently it's just a chapter) # Create the entrance exam item (currently it's just a chapter)
payload = {
'category': "chapter",
'display_name': _("Entrance Exam"),
'parent_locator': unicode(course.location),
'is_entrance_exam': True,
'in_entrance_exam': True,
}
parent_locator = unicode(course.location) parent_locator = unicode(course.location)
created_block = create_xblock( created_block = create_xblock(
parent_locator=parent_locator, parent_locator=parent_locator,
......
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