You are here

function cookie_content_blocker_uninstall in Cookie Content Blocker 7

Implements hook_uninstall().

File

./cookie_content_blocker.install, line 11
Contains install, uninstall and update functions for Cookie content blocker.

Code

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