Commit 6d174ef0 by Brian Wilson

remove dead code

parent d503fe3d
...@@ -55,9 +55,6 @@ def pdf_index(request, course_id, book_index, chapter=None, page=None): ...@@ -55,9 +55,6 @@ def pdf_index(request, course_id, book_index, chapter=None, page=None):
textbook['url'] = remap_static_url(textbook['url'], course) textbook['url'] = remap_static_url(textbook['url'], course)
# then remap all the chapter URLs as well, if they are provided. # then remap all the chapter URLs as well, if they are provided.
# if page is None:
# page = textbook.start_page
return render_to_response('static_pdfbook.html', return render_to_response('static_pdfbook.html',
{'book_index': book_index, {'book_index': book_index,
'course': course, 'course': course,
......
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