You are here

function checklistapi_uninstall in Checklist API 7

Implements hook_uninstall().

File

./checklistapi.install, line 11
Install, update and uninstall functions for the Checklist API module.

Code

function checklistapi_uninstall() {

  // Delete all Checklist API persistent variables.
  db_delete('variable')
    ->condition('name', db_like('checklistapi_') . '%', 'LIKE')
    ->execute();
  cache_clear_all('variables', 'cache_bootstrap');
}