Skip to content

Commit

Permalink
remove variables duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigoprimo committed Jun 27, 2014
1 parent 7c59069 commit 4eadeaa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions facebook/callback.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

if (isset($_GET['code'])) {
$code = $_GET['code'];
$client_id = get_option('social_connect_facebook_api_key');
$secret_key = get_option('social_connect_facebook_secret_key');

parse_str( sc_http_get_contents( "https://graph.facebook.com/oauth/access_token?" .
'client_id=' . $client_id . '&redirect_uri=' . home_url( 'index.php?social-connect=facebook-callback' ) .
Expand Down

0 comments on commit 4eadeaa

Please sign in to comment.