remove discussion caching for now. It might be overkill and I need to figure out how to serialize out the resultset into the cache as writing modules into the cache causes a pickle error

This commit is contained in:
Chris Dodge
2013-03-21 15:46:57 -04:00
parent 9a18685c1c
commit a5845a2087
2 changed files with 10 additions and 10 deletions

View File

@@ -155,7 +155,8 @@ def initialize_discussion_info(course):
unexpanded_category_map = defaultdict(list)
# get all discussion models within this course_id
all_modules = get_discussion_cache_entry(modulestore(), course_id)
all_modules = modulestore().get_items(['i4x', course.location.org, course.location.course,
'discussion', None], course_id=course_id)
for module in all_modules:
skip_module = False