| 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 |
| 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 |
|
} |