You are here

function httpbl_uninstall in http:BL 8

Same name and namespace in other branches
  1. 5 httpbl.install \httpbl_uninstall()
  2. 6.2 httpbl.install \httpbl_uninstall()
  3. 6 httpbl.install \httpbl_uninstall()
  4. 7 httpbl.install \httpbl_uninstall()

Implements hook_uninstall().

File

./httpbl.install, line 103
Install, update and uninstall functions for the httpbl module.

Code

function httpbl_uninstall() {

  // Clean up any remaining variables (located in key_value table).
  // @todo Is this even needed anymore?  Find out.
  db_delete('key_value')
    ->condition('name', 'httpbl.%%', 'LIKE')
    ->execute();
}