add logging for auditing when split-mongo courses are deleted

This commit is contained in:
David Baumgold
2014-01-29 16:57:23 -05:00
parent 7cbee5e817
commit dd627edae4

View File

@@ -1284,6 +1284,7 @@ class SplitMongoModuleStore(ModuleStoreWriteBase):
if index is None:
raise ItemNotFoundError(package_id)
# this is the only real delete in the system. should it do something else?
log.info("deleting course from split-mongo: %s", package_id)
self.db_connection.delete_course_index(index['_id'])
def get_errored_courses(self):