You are here

function search_files_attachments_search_reset in Search Files 7.2

Implementation of hook_search_reset().

File

./search_files_attachments.module, line 126
Used to index files in attachments

Code

function search_files_attachments_search_reset() {
  db_update('search_dataset')
    ->fields(array(
    'reindex' => REQUEST_TIME,
  ))
    ->condition('type', 'search_files_att')
    ->execute();
}