function responsive_navigation_uninstall in Responsive Navigation 7
Implements hook_uninstall().
File
- ./
responsive_navigation.install, line 11 - Install, update, and uninstall functions for the responsive_navigation module.
Code
function responsive_navigation_uninstall() {
// Remove all the configuration variables created by the module.
db_delete('variable')
->condition('name', 'responsive_navigation%', 'LIKE')
->execute();
// Remove all the block configuration the module.
if (module_exists('block')) {
db_delete('block')
->condition('module', 'responsive_navigation')
->execute();
db_delete('block_node_type')
->condition('module', 'responsive_navigation')
->execute();
db_delete('block_role')
->condition('module', 'responsive_navigation')
->execute();
}
cache_clear_all();
}