function search_by_page_uninstall in Search by Page 7
Same name and namespace in other branches
- 8 search_by_page.install \search_by_page_uninstall()
- 6 search_by_page.install \search_by_page_uninstall()
Implements hook_uninstall().
File
- ./
search_by_page.install, line 147 - Install hooks for search_by_page module
Code
function search_by_page_uninstall() {
// Remove information from search index
db_delete('search_dataset')
->condition('type', 'search_by_page')
->execute();
db_delete('search_index')
->condition('type', 'search_by_page')
->execute();
db_delete('search_node_links')
->condition('type', 'search_by_page')
->execute();
variable_del('search_by_page_settings');
}