function top_buttons_uninstall in Util 7
Same name and namespace in other branches
- 6.3 contribs/top_buttons/top_buttons.install \top_buttons_uninstall()
Implements hook_uninstall(); Remove module variables.
File
- contribs/
top_buttons/ top_buttons.install, line 20 - Install code for Top Buttons add-on to Util.
Code
function top_buttons_uninstall() {
variable_del('top_buttons_types');
variable_del('top_buttons_user');
foreach (node_type_get_names() as $type => $name) {
variable_del("top_buttons_{$type}");
variable_del("top_buttons_remove_delete_{$type}");
}
}