You are here

function cookiebot_uninstall in Cookiebot - Cookie consent, Cookie monitoring and Cookie control 7

Implements hook_uninstall().

File

./cookiebot.install, line 11
Contains install, uninstall and update functions for Cookiebot.

Code

function cookiebot_uninstall() {
  db_delete('variable')
    ->condition('name', db_like('cookiebot') . '%', 'LIKE')
    ->execute();
  cache_clear_all('variables', 'cache_bootstrap');
}