| 1 |
<?php |
<?php |
| 2 |
// $Id: ec_anon.install,v 1.10.2.14 2009/10/18 14:18:20 davea Exp $ |
// $Id: ec_anon.install,v 1.10.2.15 2009/10/18 22:31:32 davea Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 30 |
} |
} |
| 31 |
|
|
| 32 |
/** |
/** |
| 33 |
|
* Implementation of hook_schema_alter(). |
| 34 |
|
*/ |
| 35 |
|
function ec_anon_schema_alter(&$schema) { |
| 36 |
|
$schema['ec_product']['fields']['anon_policy'] = array( |
| 37 |
|
'type' => 'int', |
| 38 |
|
'size' => 'tiny', |
| 39 |
|
'not null' => TRUE, |
| 40 |
|
'default' => ECANON_POLICY_UNSET |
| 41 |
|
); |
| 42 |
|
} |
| 43 |
|
|
| 44 |
|
/** |
| 45 |
* Implementation of hook_enable(). |
* Implementation of hook_enable(). |
| 46 |
*/ |
*/ |
| 47 |
function ec_anon_enable() { |
function ec_anon_enable() { |