You are here

function disclaimer_uninstall in Disclaimer 7

Same name and namespace in other branches
  1. 6.2 disclaimer.install \disclaimer_uninstall()
  2. 6 disclaimer.install \disclaimer_uninstall()

Implements hook_uninstall().

File

./disclaimer.install, line 21
Install and Uninstall processes for disclaimer.

Code

function disclaimer_uninstall() {

  // Delete all global variables.
  db_delete('variable')
    ->condition('name', 'disclaimer_%', 'LIKE')
    ->execute();
}