You are here

function user_stats_update_6100 in User Stats 6

Implementation of hook_update_N().

File

./user_stats.install, line 103
Install hooks for the User Stats module.

Code

function user_stats_update_6100() {
  $ret = array();

  // Making variable names consistent: 'postcount' becomes 'post_count'.
  $post_count_field = variable_get('user_stats_postcount_profile_field', 'user_post_count');
  variable_set('user_stats_post_count_profile_field', $post_count_field);
  variable_del('user_stats_postcount_profile_field');
  return $ret;
}