You are here

function user_stats_update_5 in User Stats 5

Implementation of hook_update().

File

./user_stats.install, line 114

Code

function user_stats_update_5() {
  $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;
}