/[drupal]/contributions/modules/user_stats/user_stats.install
ViewVC logotype

Diff of /contributions/modules/user_stats/user_stats.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.7, Sun Feb 1 03:44:11 2009 UTC revision 1.1.2.8, Sun Feb 1 03:50:23 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: user_stats.install,v 1.1.2.6 2008/03/21 17:17:01 liammcdermott Exp $  // $Id: user_stats.install,v 1.1.2.7 2009/02/01 03:44:11 liammcdermott Exp $
3    
4  /**  /**
5   * Implementation of hook_install().   * Implementation of hook_install().
# Line 113  function user_stats_update_4() { Line 113  function user_stats_update_4() {
113   * Implementation of hook_update().   * Implementation of hook_update().
114   */   */
115  function user_stats_update_5() {  function user_stats_update_5() {
116      $ret = array();
117    // Making variable names consistent: 'postcount' becomes 'post_count'.    // Making variable names consistent: 'postcount' becomes 'post_count'.
118    $post_count_field = variable_get('user_stats_postcount_profile_field', 'user_post_count');    $post_count_field = variable_get('user_stats_postcount_profile_field', 'user_post_count');
119    variable_set('user_stats_post_count_profile_field', $post_count_field);    variable_set('user_stats_post_count_profile_field', $post_count_field);
120    variable_del('user_stats_postcount_profile_field');    variable_del('user_stats_postcount_profile_field');
121    
122      return $ret;
123  }  }

Legend:
Removed from v.1.1.2.7  
changed lines
  Added in v.1.1.2.8

  ViewVC Help
Powered by ViewVC 1.1.2