You are here

function bbb_test_connection in BigBlueButton 7

Same name and namespace in other branches
  1. 6 includes/pages.bbb.inc \bbb_test_connection()

Test conection to Big Blue Button

1 call to bbb_test_connection()
bbb_settings in includes/pages.bbb.inc
Administrative settings; Menu callback TODO: Per node type settings?

File

includes/pages.bbb.inc, line 109
BigBlueButton - Enables universities and colleges to deliver a high-quality learning experience.

Code

function bbb_test_connection($url) {
  $response = drupal_http_request($url);
  if ($response->code == 200 || $response->code == 302) {
    return TRUE;
  }
  return FALSE;
}