| 1 |
<?php |
<?php |
| 2 |
// $Id$ |
// $Id: uc_setcom.install,v 1.1.2.1 2009/02/23 12:01:06 maxheadroom Exp $ |
| 3 |
|
|
| 4 |
|
/** |
| 5 |
|
*@file |
| 6 |
|
**/ |
| 7 |
|
|
| 8 |
/** |
/** |
| 9 |
* Implementation of hook_install(). |
* Implementation of hook_install(). |
| 30 |
* Implementation of hook_uninstall(). |
* Implementation of hook_uninstall(). |
| 31 |
*/ |
*/ |
| 32 |
function uc_setcom_uninstall() { |
function uc_setcom_uninstall() { |
| 33 |
|
// Remove tables. |
| 34 |
|
drupal_uninstall_schema('uc_setcom'); |
| 35 |
|
|
| 36 |
db_query("DELETE FROM {uc_order_statuses} WHERE order_status_id = 'setcom_payment_denied';"); |
db_query("DELETE FROM {uc_order_statuses} WHERE order_status_id = 'setcom_payment_denied';"); |
| 37 |
db_query("DELETE FROM {uc_order_statuses} WHERE order_status_id = 'setcom_payment_pending';"); |
db_query("DELETE FROM {uc_order_statuses} WHERE order_status_id = 'setcom_payment_pending';"); |
| 38 |
db_query("DELETE FROM {uc_order_statuses} WHERE order_status_id = 'setcom_payment_received';"); |
db_query("DELETE FROM {uc_order_statuses} WHERE order_status_id = 'setcom_payment_received';"); |