function search_by_page_search_reset in Search by Page 7
Same name and namespace in other branches
- 8 search_by_page.module \search_by_page_search_reset()
Implements hook_search_reset().
Marks all items in the Search by Page database as not indexed.
File
- ./
search_by_page.module, line 637 - Main module file for Drupal module Search by Page.
Code
function search_by_page_search_reset() {
db_update('sbp_path')
->fields(array(
'last_index_time' => 0,
))
->execute();
}