diff --git a/services/track-changes/app.coffee b/services/track-changes/app.coffee index f7af275d62..f5f12078ac 100644 --- a/services/track-changes/app.coffee +++ b/services/track-changes/app.coffee @@ -27,9 +27,8 @@ app.post "/project/:project_id/doc/:doc_id/version/:version/restore", HttpContro app.post "/doc/:doc_id/pack", HttpController.packDoc -if Settings.filestore?.backend == "s3" - app.get '/project/:project_id/archive', HttpController.archiveProject - app.get '/project/:project_id/unarchive', HttpController.unArchiveProject +app.get '/project/:project_id/archive', HttpController.archiveProject +app.get '/project/:project_id/unarchive', HttpController.unArchiveProject packWorker = null # use a single packing worker diff --git a/services/track-changes/app/coffee/DocArchiveManager.coffee b/services/track-changes/app/coffee/DocArchiveManager.coffee index ab54a83039..cf69f69b8a 100644 --- a/services/track-changes/app/coffee/DocArchiveManager.coffee +++ b/services/track-changes/app/coffee/DocArchiveManager.coffee @@ -10,8 +10,6 @@ settings = require("settings-sharelatex") module.exports = DocArchiveManager = archiveAllDocsChanges: (project_id, callback = (error, docs) ->) -> - if settings.filestore?.backend != "s3" - return callback(null) DocstoreHandler.getAllDocs project_id, (error, docs) -> if error? return callback(error) @@ -42,8 +40,6 @@ module.exports = DocArchiveManager = callback() unArchiveAllDocsChanges: (project_id, callback = (error, docs) ->) -> - if settings.filestore?.backend != "s3" - return callback(null) DocstoreHandler.getAllDocs project_id, (error, docs) -> if error? return callback(error)