function current_search_uninstall in Facet API 7
Same name and namespace in other branches
- 6.3 contrib/current_search/current_search.install \current_search_uninstall()
- 7.2 contrib/current_search/current_search.install \current_search_uninstall()
Implements hook_uninstall().
File
- contrib/
current_search/ current_search.install, line 81 - Install, update, and uninstall functions for the Current Search Blocks module.
Code
function current_search_uninstall() {
// Remove Current Search blocks.
// @see http://drupal.org/node/1567928
if (db_table_exists('block')) {
db_delete('block')
->condition('module', 'current_search')
->execute();
}
}