removed old getRawLogs socket.io endpoint

This commit is contained in:
Henry Oswald 2014-04-07 11:59:49 +01:00
parent 976054377d
commit 439d38441f

View file

@ -314,11 +314,6 @@ module.exports = class Router
AuthorizationManager.ensureClientCanViewProject client, (error, project_id) =>
CompileManager.compile(project_id, user._id, opts, callback)
# This is deprecated and can be removed once all editors have had a chance to refresh
client.on 'getRawLogs', (callback)->
AuthorizationManager.ensureClientCanViewProject client, (error, project_id) =>
CompileManager.getLogLines project_id, callback
client.on 'changeUsersPrivlageLevel', (user_id, newPrivalageLevel)->
AuthorizationManager.ensureClientCanAdminProject client, (error, project_id) =>
projectHandler.changeUsersPrivlageLevel project_id, user_id, newPrivalageLevel