You are here

function breadcrumb_manager_uninstall in Breadcrumb Manager 7

Implements hook_uninstall().

File

./breadcrumb_manager.install, line 11
Install, update and uninstall functions for the Breadcrumb Manager module.

Code

function breadcrumb_manager_uninstall() {
  $variables = db_select('variable', 'v')
    ->fields('v', array(
    'name',
  ))
    ->condition('name', 'breadcrumb_manager_%', 'LIKE')
    ->execute()
    ->fetchCol();
  foreach ($variables as $variable) {
    variable_del($variable);
  }
}