function crm_core_activity_search_reset in CRM Core 7
Implements hook_search_reset().
File
- modules/
crm_core_activity/ crm_core_activity.module, line 522 - Provides an entity for recording a contact's activities.
Code
function crm_core_activity_search_reset() {
db_update('search_dataset')
->fields(array(
'reindex' => REQUEST_TIME,
))
->condition('type', 'cmc_activity')
->execute();
}