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

Diff of /contributions/modules/kudos/kudos.install

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

revision 1.6.2.5, Mon Mar 9 02:15:57 2009 UTC revision 1.6.2.6, Fri May 1 00:44:38 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  //  //
3  // $Id: kudos.install,v 1.6.2.4 2008/12/26 02:14:02 tjwnyc Exp $  // $Id: kudos.install,v 1.6.2.5 2009/03/09 02:15:57 tjwnyc Exp $
4  //  //
5    
6  /**  /**
# Line 50  function kudos_schema() { Line 50  function kudos_schema() {
50        'label' => array('type' => 'varchar', 'length' => 50, 'not null' => TRUE),        'label' => array('type' => 'varchar', 'length' => 50, 'not null' => TRUE),
51        'status' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 1, 'size' => 'tiny'),        'status' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 1, 'size' => 'tiny'),
52        'comments' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0, 'size' => 'tiny'),        'comments' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0, 'size' => 'tiny'),
53          'nodes' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 1, 'size' => 'tiny'),
54        'icon_give' => array('type' => 'varchar', 'length' => 150, 'not null' => TRUE),        'icon_give' => array('type' => 'varchar', 'length' => 150, 'not null' => TRUE),
55        'icon_rescind' => array('type' => 'varchar', 'length' => 150, 'not null' => TRUE),        'icon_rescind' => array('type' => 'varchar', 'length' => 150, 'not null' => TRUE),
56        'icon_disabled' => array('type' => 'varchar', 'length' => 150, 'not null' => TRUE),        'icon_disabled' => array('type' => 'varchar', 'length' => 150, 'not null' => TRUE),
# Line 97  function kudos_update_6100() { Line 98  function kudos_update_6100() {
98  * Implementation of hook_uninstall().  * Implementation of hook_uninstall().
99  */  */
100  function kudos_uninstall() {  function kudos_uninstall() {
101    drupal_uninstall_schema('kudos_granted');    drupal_uninstall_schema('kudos');
   drupal_uninstall_schema('kudos_info');  
   drupal_uninstall_schema('kudos_info_types');  
   drupal_uninstall_schema('kudos_cached');  
102    db_query("DELETE FROM {variable} WHERE name like 'kudos%'");    db_query("DELETE FROM {variable} WHERE name like 'kudos%'");
103  }//end - function  }//end - function

Legend:
Removed from v.1.6.2.5  
changed lines
  Added in v.1.6.2.6

  ViewVC Help
Powered by ViewVC 1.1.2