remove dead code

This commit is contained in:
Brian Gough
2016-07-18 11:05:45 +01:00
parent 69666bef60
commit fdf274fb82

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)