Browse Source

weird error fixed

Andrey Sergienko 10 years ago
parent
commit
345d163d9c
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/facebook.erl

+ 0 - 1
src/facebook.erl

@@ -20,7 +20,6 @@ registration_data(Props, facebook, Ori)->
         BD -> list_to_tuple([list_to_integer(X) || X <- string:tokens(binary_to_list(BD), "/")]) end,
     error_logger:info_msg("User Ori: ~p",[Ori]),
     error_logger:info_msg("Props: ~p",[Props]),
-    Id = proplists:get_value(<<"id">>, Props),
     Email = email_prop(Props, facebook),
     [UserName|_] = string:tokens(binary_to_list(Email),"@"), Cover = case proplists:get_value(<<"cover">>,Props) of undefined -> ""; P -> case proplists:get_value(<<"source">>,P#struct.lst) of undefined -> ""; C -> binary_to_list(C) end end,
     Ori#user{   id = Email,