function statistics_update_8000

Moves statistics settings from variables to config.

Related topics

File

drupal/core/modules/statistics/statistics.install, line 66
Install and update functions for the Statistics module.

Code

function statistics_update_8000() {
  update_variables_to_config('statistics.settings', array(
    'statistics_count_content_views' => 'count_content_views',
    'statistics_block_top_day_num' => 'block.popular.top_day_limit',
    'statistics_block_top_all_num' => 'block.popular.top_all_limit',
    'statistics_block_top_last_num' => 'block.popular.top_recent_limit',
  ));
}