You are here

function zoomapi_update_7200 in Zoom API 7.2

Upgrade to ZoomAPI v2.

File

./zoomapi.install, line 87
Install, update, and uninstall hooks for the Zoom API module.

Code

function zoomapi_update_7200() {
  global $base_url;
  variable_set('zoomapi_user_create_action_default', 'custCreate');
  db_drop_table('zoomapi_meeting_tracker');
  _zoomapi_add_missing_tables();
  variable_del('zoomapi_url');
  db_delete('variable')
    ->condition('name', 'zoomapi_webhooks_%', 'LIKE')
    ->execute();
  variable_del('zoomapi_sendrequests_enabled');
}