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

Diff of /contributions/modules/stock/stock.install

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

revision 1.3, Mon Sep 22 03:58:45 2008 UTC revision 1.3.2.1, Sun Oct 26 02:51:31 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: stock.install,v 1.1.4.3 2008/03/18 22:58:39 kbahey Exp $  // $Id: stock.install,v 1.3 2008/09/22 03:58:45 kbahey Exp $
3    
4  /**  /**
5   * Implementation of hook_install()   * Implementation of hook_install()
# Line 24  function stock_schema() { Line 24  function stock_schema() {
24        'default' => ''),        'default' => ''),
25      ),      ),
26      'primary key' => array('uid'),      'primary key' => array('uid'),
27      );    );
28    return $schema;    return $schema;
29  }  }
30  function stock_install() {  function stock_install() {
31    drupal_install_schema('stock');    drupal_install_schema('stock');
32  }  }
33    
   
34  /**  /**
35   * Implementation of hook_uninstall()   * Implementation of hook_uninstall()
36   *   *
37   * This will automatically remove the MySQL & PostgreSQL database tables for Stock module.   * This will automatically remove the MySQL & PostgreSQL database tables for Stock module.
  *  
38   */   */
39  function stock_uninstall() {  function stock_uninstall() {
40    drupal_uninstall_schema('stock');    drupal_uninstall_schema('stock');

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.3.2.1

  ViewVC Help
Powered by ViewVC 1.1.2