From 21d1a349ff72a94d816aefa9dab46392c8044f76 Mon Sep 17 00:00:00 2001 From: Ábner Silva de Oliveira Date: Wed, 15 Jul 2015 17:20:35 -0300 Subject: [PATCH] removing testing code --- plugins/oauth_client/lib/ext/user.rb | 5 ----- 1 file changed, 0 insertions(+), 5 deletions(-) diff --git a/plugins/oauth_client/lib/ext/user.rb b/plugins/oauth_client/lib/ext/user.rb index 334ffa8..4e77c8c 100644 --- a/plugins/oauth_client/lib/ext/user.rb +++ b/plugins/oauth_client/lib/ext/user.rb @@ -30,11 +30,6 @@ class User # user creation through api does not set oauth_providers # so it is being shared through a distributed cache def check_providers - if @call_count - @call_count +=1 - else - @call_count = 0 - end if oauth_providers.empty? && oauth_signup_token.present? #check if is oauth user, reading oauth_data recorded at cache store @oauth_data = OauthClientPlugin::SignupDataStore.get_oauth_data(self.email, self.oauth_signup_token) -- libgit2 0.21.2