turn off metadata inheritence for a quick test

This commit is contained in:
Chris Dodge
2013-02-27 21:45:17 -05:00
parent d0bbb0f6c9
commit e42cdfbd29

View File

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