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

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

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

revision 1.2.2.19, Sun Oct 18 22:31:32 2009 UTC revision 1.2.2.20, Tue Oct 20 00:32:40 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: ec_product.install,v 1.2.2.18 2009/10/18 14:18:20 davea Exp $  // $Id: ec_product.install,v 1.2.2.19 2009/10/18 22:31:32 davea Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 267  function ec_product_update_6403() { Line 267  function ec_product_update_6403() {
267        drupal_write_record('permission', $perm, 'pid');        drupal_write_record('permission', $perm, 'pid');
268      }      }
269    }    }
270      return array();
271    }
272    
273    /**
274     * Adds column to ec_product table to for anonymous policy
275     */
276    function ec_product_update_6404() {
277      $ret = array();
278      if (db_table_exists('ec_product') && !db_column_exists('ec_product', 'anon_policy')) {
279        db_add_field($ret, 'ec_product', 'anon_policy', array('type' => 'int', 'size' => 'tiny', 'not null' => TRUE, 'default' => 0));
280      }
281    return array();    return array();
282  }  }

Legend:
Removed from v.1.2.2.19  
changed lines
  Added in v.1.2.2.20

  ViewVC Help
Powered by ViewVC 1.1.2