| 1 |
|
<?php |
| 2 |
|
// $Id$ |
| 3 |
|
|
| 4 |
|
/** |
| 5 |
|
* @file |
| 6 |
|
* Install file for the profile.module |
| 7 |
|
*/ |
| 8 |
|
|
| 9 |
|
|
| 10 |
|
/** |
| 11 |
|
* Implementation of hook_install(). |
| 12 |
|
*/ |
| 13 |
|
function pcp_install() { |
| 14 |
|
drupal_install_schema('pcp'); |
| 15 |
|
} |
| 16 |
|
|
| 17 |
|
/** |
| 18 |
|
* Implementation of hook_schema() |
| 19 |
|
*/ |
| 20 |
|
function pcp_schema() { |
| 21 |
|
$schema['profile_pcp'] = array( |
| 22 |
|
'fields' => array( |
| 23 |
|
'fid' => array('type' => 'int', 'not null' => TRUE), |
| 24 |
|
), |
| 25 |
|
); |
| 26 |
|
return $schema; |
| 27 |
|
} |
| 28 |
|
|
| 29 |
|
function pcp_uninstall() { |
| 30 |
|
drupal_uninstall_schema('pcp'); |
| 31 |
|
} |