You are here

function fb_is_connect in Drupal for Facebook 6.2

1 call to fb_is_connect()
fb_devel_fb in ./fb_devel.module

File

./fb.module, line 344

Code

function fb_is_connect() {

  // fb_settings.inc sets this global.
  if (isset($GLOBALS['_fb_connect_apikey'])) {
    return $GLOBALS['_fb_connect_apikey'];
  }
  elseif (function_exists('fb_connect_get_app')) {
    $fb_app = fb_connect_get_app();
    if (isset($fb_app)) {
      return $fb_app->apikey;
    }
  }
}