You are here

function hubspot_oauth_disconnect in HubSpot 6.2

Same name and namespace in other branches
  1. 7.3 hubspot.admin.inc \hubspot_oauth_disconnect()
  2. 7.2 hubspot.admin.inc \hubspot_oauth_disconnect()
1 string reference to 'hubspot_oauth_disconnect'
hubspot_admin_settings in ./hubspot.admin.inc
@file Provides admin settings page to adjust HubSpot API key, debugging settings, and JavaScript embedding.

File

./hubspot.admin.inc, line 109
Provides admin settings page to adjust HubSpot API key, debugging settings, and JavaScript embedding.

Code

function hubspot_oauth_disconnect($form, &$form_state) {
  variable_del('hubspot_access_token');
  variable_del('hubspot_refresh_token');
  variable_del('hubspot_expires_in');
}