Remove debug logs

This commit is contained in:
Shane Kilkelly 2016-10-21 16:21:21 +01:00
parent d5a7514923
commit 8c1d110688

View file

@ -35,13 +35,11 @@ module.exports = SubscriptionController =
shouldABTestPlans: currentUser == null or (currentUser?.signUpDate? and currentUser.signUpDate >= (new Date('2011-10-18')))
user_id = AuthenticationController.getLoggedInUserId(req)
if user_id?
console.log '>> user is logged in'
UserGetter.getUser user_id, {signUpDate: 1}, (err, user) ->
return next(err) if err?
currentUser = user
render()
else
console.log '>> not logged in'
render()
#get to show the recurly.js page