You are here

function zoomapi_uninstall in Zoom API 7.2

Same name and namespace in other branches
  1. 7 zoomapi.install \zoomapi_uninstall()

Implements hook_uninstall().

File

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

Code

function zoomapi_uninstall() {
  $vars = db_query("\n    SELECT name\n    FROM {variable}\n    WHERE name LIKE 'zoomapi_%'\n  ")
    ->fetchCol();
  db_delete('variable')
    ->condition('name', $vars, 'IN')
    ->execute();
  cache_clear_all('variables', 'cache_bootstrap');
}