function _search_by_page_update_last_time in Search by Page 6
Same name and namespace in other branches
- 8 search_by_page.module \_search_by_page_update_last_time()
- 7 search_by_page.module \_search_by_page_update_last_time()
Internal function: updates the last index time.
Parameters
$pid: pid to update
$time: time to update to
3 calls to _search_by_page_update_last_time()
- search_by_page_force_reindex in ./
search_by_page.module - Forces a page to be reindexed at the next cron run.
- search_by_page_reset_blank in ./
search_by_page.module - Resets pages that have no words in search index, so they'll be reindexed.
- search_by_page_update_index in ./
search_by_page.module - Implementation of hook_update_index().
File
- ./
search_by_page.module, line 1648 - Main module file for Drupal module Search by Page.
Code
function _search_by_page_update_last_time($pid, $time = 0) {
db_query('UPDATE {sbp_path} SET last_index_time=%d WHERE pid=%d', $time, $pid);
}