Merge pull request #5152 from edx/tim/less-has-changes
Calculate has_changes only Section/Subsection only on Outline page
This commit is contained in:
@@ -597,7 +597,6 @@ class DraftModuleStore(MongoModuleStore):
|
||||
bulk_record.dirty = True
|
||||
self.collection.remove({'_id': {'$in': to_be_deleted}}, safe=self.collection.safe)
|
||||
|
||||
@MongoModuleStore.memoize_request_cache
|
||||
def has_changes(self, xblock):
|
||||
"""
|
||||
Check if the subtree rooted at xblock has any drafts and thus may possibly have changes
|
||||
|
||||
Reference in New Issue
Block a user