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

Diff of /contributions/modules/stumble/stumble.install

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

revision 1.2.2.4, Thu Oct 23 05:19:37 2008 UTC revision 1.2.2.5, Fri Nov 28 19:10:17 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: stumble.install,v 1.2.2.3 2008/10/23 04:57:09 davereid Exp $  // $Id: stumble.install,v 1.2.2.4 2008/10/23 05:19:37 davereid Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 20  function stumble_uninstall() { Line 20  function stumble_uninstall() {
20   * Remove 'stumble_same' variable.   * Remove 'stumble_same' variable.
21   */   */
22  function stumble_update_5000() {  function stumble_update_5000() {
23      $ret = array();
24    if (variable_get('stumble_same', 0)) {    if (variable_get('stumble_same', 0)) {
25      variable_set('stumble_same_type', 1);      variable_set('stumble_same_type', 1);
26      variable_del('stumble_same');      variable_del('stumble_same');
27        $ret[] = array('success' => TRUE, 'query' => 'Renamed variable stumble_same to stumble_same_type.');
28    }    }
29      return $ret;
30  }  }

Legend:
Removed from v.1.2.2.4  
changed lines
  Added in v.1.2.2.5

  ViewVC Help
Powered by ViewVC 1.1.2