You are here

function block_country_uninstall in Block Country 7

Implements hook_uninstall().

File

./block_country.install, line 70
Schema definitions install/update/uninstall hooks.

Code

function block_country_uninstall() {
  $schema['block'] = array();
  block_country_schema_alter($schema);
  foreach ($schema['block']['fields'] as $field => $specs) {
    db_drop_field('block', $field);
  }
}