diff --git a/lms/djangoapps/staticbook/views.py b/lms/djangoapps/staticbook/views.py index 52245525e9..42c66aa4c8 100644 --- a/lms/djangoapps/staticbook/views.py +++ b/lms/djangoapps/staticbook/views.py @@ -36,10 +36,6 @@ def index(request, course_id, book_index, page=None): ) -def index_shifted(request, course_id, page): - return index(request, course_id=course_id, page=int(page) + 24) - - def remap_static_url(original_url, course): """Remap a URL in the ways the course requires.""" # Ick: this should be possible without having to quote and unquote the URL... diff --git a/lms/urls.py b/lms/urls.py index f4bf804976..51c6ba13b7 100644 --- a/lms/urls.py +++ b/lms/urls.py @@ -227,8 +227,6 @@ if settings.COURSEWARE_ENABLED: 'staticbook.views.index', name="book"), url(r'^courses/(?P[^/]+/[^/]+/[^/]+)/book/(?P[^/]*)/(?P[^/]*)$', 'staticbook.views.index'), - url(r'^courses/(?P[^/]+/[^/]+/[^/]+)/book-shifted/(?P[^/]*)$', - 'staticbook.views.index_shifted'), url(r'^courses/(?P[^/]+/[^/]+/[^/]+)/pdfbook/(?P[^/]*)/$', 'staticbook.views.pdf_index', name="pdf_book"),