You are here

function ddblock_uninstall in Dynamic display block 6

Same name and namespace in other branches
  1. 7 ddblock.install \ddblock_uninstall()

Implementation of hook_uninstall().

File

./ddblock.install, line 73
Installation file to implement the dynamic display block schema

Code

function ddblock_uninstall() {

  //Drop tables
  drupal_uninstall_schema('ddblock');

  // Remove variables
  db_query("DELETE FROM {variable} WHERE name LIKE 'ddblock_%%'");
  cache_clear_all('variables', 'cache');
  drupal_set_message(t("Dynamic display block module uninstalled successfully."));
}