mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
removed old getRawLogs socket.io endpoint
This commit is contained in:
parent
976054377d
commit
439d38441f
1 changed files with 0 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue