You are here

function features_uninstall in Features 7

Same name and namespace in other branches
  1. 6 features.install \features_uninstall()
  2. 7.2 features.install \features_uninstall()

Implements hook_uninstall().

File

./features.install, line 23
Install, update and uninstall functions for the features module.

Code

function features_uninstall() {
  variable_del('features_codecache');
  variable_del('features_semaphore');
  variable_del('features_ignored_orphans');
  db_delete('menu_custom')
    ->condition('menu_name', 'features')
    ->execute();
  db_delete('menu_links')
    ->condition('module', 'features')
    ->execute();
}