Commit e42cdfbd by Chris Dodge

turn off metadata inheritence for a quick test

parent d0bbb0f6
...@@ -289,8 +289,8 @@ class MongoModuleStore(ModuleStoreBase): ...@@ -289,8 +289,8 @@ class MongoModuleStore(ModuleStoreBase):
# if we are loading a course object, there is no parent to inherit the metadata from # if we are loading a course object, there is no parent to inherit the metadata from
# so don't bother getting it # so don't bother getting it
if item['location']['category'] != 'course': #if item['location']['category'] != 'course':
metadata_inheritance_tree = self.get_cached_metadata_inheritance_tree(Location(item['location']), 300) # metadata_inheritance_tree = self.get_cached_metadata_inheritance_tree(Location(item['location']), 300)
# TODO (cdodge): When the 'split module store' work has been completed, we should remove # TODO (cdodge): When the 'split module store' work has been completed, we should remove
# the 'metadata_inheritance_tree' parameter # the 'metadata_inheritance_tree' parameter
......
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