Commit 5dbb153a by Chris Dodge

ooops. didn't clean up the merge conflicts

parent 8849ce08
...@@ -622,11 +622,7 @@ class MongoModuleStore(ModuleStoreBase): ...@@ -622,11 +622,7 @@ class MongoModuleStore(ModuleStoreBase):
self._update_single_item(location, {'metadata': metadata}) self._update_single_item(location, {'metadata': metadata})
# recompute (and update) the metadata inheritance tree which is cached # recompute (and update) the metadata inheritance tree which is cached
<<<<<<< HEAD
self.refresh_cached_metadata_inheritance_tree(loc) self.refresh_cached_metadata_inheritance_tree(loc)
=======
self.get_cached_metadata_inheritance_tree(loc, force_refresh = True)
>>>>>>> fbd409c914c2dc005fd6b46af6daaee262205e0e
def delete_item(self, location): def delete_item(self, location):
""" """
...@@ -649,12 +645,7 @@ class MongoModuleStore(ModuleStoreBase): ...@@ -649,12 +645,7 @@ class MongoModuleStore(ModuleStoreBase):
# from overriding our default value set in the init method. # from overriding our default value set in the init method.
safe=self.collection.safe) safe=self.collection.safe)
# recompute (and update) the metadata inheritance tree which is cached # recompute (and update) the metadata inheritance tree which is cached
<<<<<<< HEAD
self.refresh_cached_metadata_inheritance_tree(Location(location)) self.refresh_cached_metadata_inheritance_tree(Location(location))
=======
self.get_cached_metadata_inheritance_tree(Location(location), force_refresh = True)
>>>>>>> fbd409c914c2dc005fd6b46af6daaee262205e0e
def get_parent_locations(self, location, course_id): def get_parent_locations(self, location, course_id):
'''Find all locations that are the parents of this location in this '''Find all locations that are the parents of this location in this
......
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