function data_search_cron in Data 7
Same name and namespace in other branches
- 8 data_search/data_search.module \data_search_cron()
- 6 data_search/data_search.module \data_search_cron()
Implements hook_cron().
Wipe all orphaned search records.
@todo: Move clean up of deleted records into DataHandler::delete() once there is a build query > alter query > execute query pattern implemented.
File
- data_search/
data_search.module, line 39
Code
function data_search_cron() {
$tables = data_search_get_tables();
foreach ($tables as $table) {
data_search_wipe($table);
}
}