Commit 21d1a349ff72a94d816aefa9dab46392c8044f76
1 parent
e0189d33
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
removing testing code
Showing
1 changed file
with
0 additions
and
5 deletions
Show diff stats
plugins/oauth_client/lib/ext/user.rb
... | ... | @@ -30,11 +30,6 @@ class User |
30 | 30 | # user creation through api does not set oauth_providers |
31 | 31 | # so it is being shared through a distributed cache |
32 | 32 | def check_providers |
33 | - if @call_count | |
34 | - @call_count +=1 | |
35 | - else | |
36 | - @call_count = 0 | |
37 | - end | |
38 | 33 | if oauth_providers.empty? && oauth_signup_token.present? |
39 | 34 | #check if is oauth user, reading oauth_data recorded at cache store |
40 | 35 | @oauth_data = OauthClientPlugin::SignupDataStore.get_oauth_data(self.email, self.oauth_signup_token) | ... | ... |