function better_statistics_flush_caches in Better Statistics 7
Implements hook_flush_caches().
When all caches are flushed, detect any updates we need to make on active fields. This is implemented not to declare a cache table for flushing, but to react when all caches are flushed.
File
- ./
better_statistics.module, line 241 - Drupal hook implementations for the Better Statistics module.
Code
function better_statistics_flush_caches() {
module_load_include('inc', 'better_statistics', 'better_statistics.admin');
_better_statistics_update_fields();
_better_statistics_update_methods();
return array();
}