[cleanup] remove unused LMS (#7612)

This commit is contained in:
Rushabh Mehta
2017-01-30 17:04:38 +05:30
committed by GitHub
parent 455824235a
commit 4500f7b4d6
25 changed files with 2 additions and 1017 deletions

View File

@@ -15,14 +15,6 @@ def get_context(context):
course = frappe.get_doc('Course', frappe.form_dict.course)
course.has_permission('read')
context.doc = course
portal_items = [{'reference_doctype': u'Topic', 'route': u"/topic?course=" + str(course.name), 'show_always': 0L, 'title': u'Topics'},
{'reference_doctype': u'Discussion', 'route': u"/discussion?course=" + str(course.name), 'show_always': 0L, 'title': u'Discussions'},
]
context.sidebar_items = portal_items
context.sidebar_title = sidebar_title
context.intro = course.course_intro