function statistics_update_index
Implements hook_update_index().
File
-
modules/
statistics/ statistics.module, line 460
Code
function statistics_update_index() {
variable_set('node_cron_views_scale', 1.0 / max(1, db_query('SELECT MAX(totalcount) FROM {node_counter}')->fetchField()));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.