function _search_by_page_remove_path in Search by Page 7
Same name and namespace in other branches
- 8 search_by_page.module \_search_by_page_remove_path()
- 6 search_by_page.module \_search_by_page_remove_path()
Internal function: removes a path item from the paths and search database.
Parameters
$pid: ID of the path to remove.
2 calls to _search_by_page_remove_path()
- search_by_page_force_remove in ./
search_by_page.module - Removes a page from Search by Page.
- search_by_page_rebuild_paths in ./
search_by_page.module - Rebuilds the paths table for a particular module.
File
- ./
search_by_page.module, line 1811 - Main module file for Drupal module Search by Page.
Code
function _search_by_page_remove_path($pid) {
db_delete('sbp_path')
->condition('pid', $pid)
->execute();
_search_by_page_remove_searchinfo($pid);
}