remove dead code

This commit is contained in:
Brian Gough 2016-07-18 11:05:45 +01:00
parent 9b58621fa8
commit bd1e1de504

View file

@ -47,7 +47,7 @@ module.exports = CompileController =
} }
stopCompile: (req, res, next) -> stopCompile: (req, res, next) ->
{project_id, user_id, session_id} = req.params {project_id, user_id} = req.params
CompileManager.stopCompile project_id, user_id, (error) -> CompileManager.stopCompile project_id, user_id, (error) ->
return next(error) if error? return next(error) if error?
res.sendStatus(204) res.sendStatus(204)