You are here

function superfish_uninstall in Superfish 7

Same name and namespace in other branches
  1. 6 superfish.install \superfish_uninstall()

Implements hook_uninstall().

File

./superfish.install, line 11
Install, update and uninstall functions for the Superfish module.

Code

function superfish_uninstall() {
  db_delete('variable')
    ->condition('name', 'superfish_%%', 'LIKE')
    ->execute();
  db_delete('block')
    ->condition('module', 'superfish')
    ->execute();
  db_delete('block_role')
    ->condition('module', 'superfish')
    ->execute();
}