/[drupal]/contributions/modules/ecommerce/ec_anon/ec_anon.install
ViewVC logotype

Diff of /contributions/modules/ecommerce/ec_anon/ec_anon.install

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

revision 1.10.2.18 by gordon, Mon Nov 9 11:44:08 2009 UTC revision 1.10.2.19 by gordon, Sat Nov 14 13:22:37 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: ec_anon.install,v 1.10.2.17 2009/10/19 13:44:42 gordon Exp $  // $Id: ec_anon.install,v 1.10.2.18 2009/11/09 11:44:08 gordon Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 139  function ec_anon_update_6403(&$sandbox) Line 139  function ec_anon_update_6403(&$sandbox)
139    
140    return $ret;    return $ret;
141  }  }
142    
143    /**
144     * Move the ec_anon.policy to ec_product.anon_policy
145     */
146    function ec_anon_update_6404() {
147      $ret = array();
148    
149      if (db_table_exists('ec_product') && !db_column_exists('ec_product', 'anon_policy')) {
150        db_add_field($ret, 'ec_product', 'anon_policy', array('type' => 'int', 'size' => 'tiny', 'not null' => TRUE, 'default' => ECANON_POLICY_UNSET));
151      }
152    
153      return $ret;
154    }

Legend:
Removed from v.1.10.2.18  
changed lines
  Added in v.1.10.2.19

  ViewVC Help
Powered by ViewVC 1.1.3