remove daft redundancy.

This commit is contained in:
Shane Kilkelly 2016-07-07 09:42:01 +01:00
parent 896cbb5f4c
commit 0e9beb5653

View file

@ -43,9 +43,6 @@ module.exports = UserSessionsManager =
logger.log {user_id: user._id}, "no sessionId to untrack, returning"
return callback(null)
logger.log {user_id: user._id, sessionId}, "onLogout handler"
if !user
logger.log {sessionId}, "no user, for some reason"
return callback()
sessionSetKey = UserSessionsManager._sessionSetKey(user)
value = UserSessionsManager._sessionKey sessionId
rclient.multi()