You are here

cookie_content_blocker.install in Cookie Content Blocker 7

Contains install, uninstall and update functions for Cookie content blocker.

File

cookie_content_blocker.install
View source
<?php

/**
 * @file
 * Contains install, uninstall and update functions for Cookie content blocker.
 */

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

Functions