diff --git a/twitter/connect.php b/twitter/connect.php index 318d849..8889410 100644 --- a/twitter/connect.php +++ b/twitter/connect.php @@ -11,9 +11,7 @@ define('CONSUMER_SECRET', get_option('social_connect_twitter_consumer_secret')); define('OAUTH_CALLBACK', SOCIAL_CONNECT_PLUGIN_URL . '/twitter/callback.php'); -$twitter_enabled = get_option('social_connect_twitter_enabled'); - -if($twitter_enabled && CONSUMER_KEY != '' && CONSUMER_SECRET != '') { +if(CONSUMER_KEY != '' && CONSUMER_SECRET != '') { /* Build TwitterOAuth object with client credentials. */ $connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET);