diff --git a/services/web/app/coffee/Features/Templates/TemplatesMiddlewear b/services/web/app/coffee/Features/Templates/TemplatesMiddlewear deleted file mode 100644 index 300721c889..0000000000 --- a/services/web/app/coffee/Features/Templates/TemplatesMiddlewear +++ /dev/null @@ -1,8 +0,0 @@ -settings = require("settings-sharelatex") -logger = require("logger-sharelatex") - -module.exports = - saveTemplateDataInSession: (req, res, next)-> - if req.query.templateName - req.session.templateData = req.query - next()