Revert "Merge pull request #843 from sharelatex/ew-collabratec"

This reverts commit 223beab491d2f8dcf4c7285267fda355cfce3f05, reversing
changes made to a726537c4372641bfca0eb37fc130ca3a932d433.
This commit is contained in:
Ersun Warncke 2018-08-29 12:00:53 -04:00
parent afc22dc5c2
commit 9feb8ef39f

View file

@ -80,9 +80,6 @@ class User
update["features.#{key}"] = value
UserModel.update { _id: @id }, update, callback
setOverleafId: (overleaf_id, callback = (error) ->) ->
UserModel.update { _id: @id }, { 'overleaf.id': overleaf_id }, callback
logout: (callback = (error) ->) ->
@getCsrfToken (error) =>
return callback(error) if error?