/[drupal]/contributions/modules/uc_setcom/uc_setcom.install
ViewVC logotype

Diff of /contributions/modules/uc_setcom/uc_setcom.install

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

revision 1.1, Sun Nov 2 13:43:49 2008 UTC revision 1.2, Wed Oct 7 10:51:08 2009 UTC
# Line 1  Line 1 
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().
# Line 26  function uc_setcom_install() { Line 30  function uc_setcom_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';");

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.2