/[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.6.2.4, Sun Feb 1 00:45:17 2009 UTC revision 1.1.2.6.2.5, Sun Feb 1 03:53:30 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: user_stats.install,v 1.1.2.6.2.3 2008/11/18 22:24:43 liammcdermott Exp $  // $Id: user_stats.install,v 1.1.2.6.2.4 2009/02/01 00:45:17 liammcdermott Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 48  function user_stats_uninstall() { Line 48  function user_stats_uninstall() {
48   * Implementation of hook_update_N().   * Implementation of hook_update_N().
49   */   */
50  function user_stats_update_6100() {  function user_stats_update_6100() {
51      $ret = array();
52    // Making variable names consistent: 'postcount' becomes 'post_count'.    // Making variable names consistent: 'postcount' becomes 'post_count'.
53    $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');
54    variable_set('user_stats_post_count_profile_field', $post_count_field);    variable_set('user_stats_post_count_profile_field', $post_count_field);
55    variable_del('user_stats_postcount_profile_field');    variable_del('user_stats_postcount_profile_field');
56    
57      return $ret;
58  }  }

Legend:
Removed from v.1.1.2.6.2.4  
changed lines
  Added in v.1.1.2.6.2.5

  ViewVC Help
Powered by ViewVC 1.1.2