'Restart updating the meta-data inheritance cache for the given course or library.
Refresh the meta-data inheritance cache now since it was temporarily disabled.'

def _end_outermost_bulk_operation(self, bulk_ops_record, structure_key):

    dirty = False
    if bulk_ops_record.dirty:
        self.refresh_cached_metadata_inheritance_tree(structure_key)
        dirty = True
        bulk_ops_record.dirty = False
    return dirty
