You are here

function user_stats_update_4 in User Stats 5

Implementation of hook_update()

File

./user_stats.install, line 102

Code

function user_stats_update_4() {
  $ret = array();
  variable_set('user_stats_postcount_profile_field', 'user_post_count');
  $ret[] = update_sql("UPDATE {profile_fields} SET title = 'Login Count'\n    WHERE title = 'Login count'");
  return $ret;
}