diff --git a/services/document-updater/app/js/HistoryManager.js b/services/document-updater/app/js/HistoryManager.js index 3950afeca6..2199a12c10 100644 --- a/services/document-updater/app/js/HistoryManager.js +++ b/services/document-updater/app/js/HistoryManager.js @@ -30,6 +30,10 @@ module.exports = HistoryManager = { ) return } + if (Settings.disableTrackChanges) { + logger.debug({ doc_id }, 'track changes is disabled, so not flushing') + return + } return RedisManager.getHistoryType( doc_id, function (err, projectHistoryType) {