diff --git a/services/web/app/src/Features/Project/ProjectController.js b/services/web/app/src/Features/Project/ProjectController.js index e766bd31f8..6af8b51be7 100644 --- a/services/web/app/src/Features/Project/ProjectController.js +++ b/services/web/app/src/Features/Project/ProjectController.js @@ -715,9 +715,6 @@ const ProjectController = { const { subscription } = results const { brandVariation } = results - const daysSinceLastUpdated = - (new Date() - project.lastUpdated) / 86400000 - const token = TokenAccessHandler.getRequestToken(req, projectId) const { isTokenMember } = results AuthorizationManager.getPrivilegeLevelForProject( diff --git a/services/web/app/src/Features/Project/ProjectEntityHandler.js b/services/web/app/src/Features/Project/ProjectEntityHandler.js index cfc2c7477f..2da3f76d50 100644 --- a/services/web/app/src/Features/Project/ProjectEntityHandler.js +++ b/services/web/app/src/Features/Project/ProjectEntityHandler.js @@ -1,6 +1,4 @@ -const _ = require('underscore') const path = require('path') -const logger = require('logger-sharelatex') const DocstoreManager = require('../Docstore/DocstoreManager') const Errors = require('../Errors/Errors') const ProjectGetter = require('./ProjectGetter')