function menu_attributes_uninstall in Menu Attributes 6
Same name and namespace in other branches
- 8 menu_attributes.install \menu_attributes_uninstall()
- 6.2 menu_attributes.install \menu_attributes_uninstall()
- 7 menu_attributes.install \menu_attributes_uninstall()
Implements hook_uninstall().
File
- ./
menu_attributes.install, line 18 - Install, update and uninstall functions for the menu_attributes module.
Code
function menu_attributes_uninstall() {
drupal_load('module', 'menu_attributes');
$attributes = menu_attributes_menu_attribute_info();
foreach (array_keys($attributes) as $attribute) {
variable_del("menu_attributes_{$attribute}_enable");
variable_del("menu_attributes_{$attribute}_default");
}
}