From 4eadeaad8652b1877ce7820b0bac60f25e80bb35 Mon Sep 17 00:00:00 2001 From: Rodrigo Primo Date: Fri, 27 Jun 2014 15:00:30 -0300 Subject: [PATCH] remove variables duplication --- facebook/callback.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/facebook/callback.php b/facebook/callback.php index b321098..566f6b1 100644 --- a/facebook/callback.php +++ b/facebook/callback.php @@ -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' ) .