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

Diff of /contributions/modules/nodefamily/nodefamily.install

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

revision 1.4.2.6, Mon Jun 9 07:13:18 2008 UTC revision 1.4.2.7, Wed Aug 20 12:33:11 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: nodefamily.install,v 1.4.2.5 2007/04/28 17:44:30 fago Exp $  // $Id: nodefamily.install,v 1.4.2.6 2008/06/09 07:13:18 fago Exp $
3    
4  function nodefamily_install() {  function nodefamily_install() {
5    switch ($GLOBALS['db_type']) {    switch ($GLOBALS['db_type']) {
# Line 19  function nodefamily_install() { Line 19  function nodefamily_install() {
19        )");        )");
20      default:      default:
21        break;        break;
22        case 'mssql':
23          db_query("CREATE TABLE {nodefamily} (
24            parent_nid int NOT NULL default 0,
25            child_nid int NOT NULL default 0,
26            PRIMARY KEY(parent_nid,child_nid)
27          );");
28          break;
29    }    }
30    // Set the module weight to -2, so that the hook_form_alter() implementation    // Set the module weight to -2, so that the hook_form_alter() implementation
31    // get's called before nodeprofile's implementation    // get's called before nodeprofile's implementation

Legend:
Removed from v.1.4.2.6  
changed lines
  Added in v.1.4.2.7

  ViewVC Help
Powered by ViewVC 1.1.2