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

Diff of /contributions/modules/taxonomy_other/taxonomy_other.install

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

revision 1.1, Sun Jun 8 19:43:00 2008 UTC revision 1.2, Mon Dec 8 19:03:33 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: taxonomy_other.install,v 1.1.2.1 2008/08/06 23:18:26 rellis Exp $
3    
4  /**  /**
5   * Implementation of hook_install().   * Implementation of hook_install().
# Line 7  Line 7 
7  function taxonomy_other_install() {  function taxonomy_other_install() {
8    // Create tables.    // Create tables.
9    drupal_install_schema('taxonomy_other');    drupal_install_schema('taxonomy_other');
10      // Make compatible with i18ntaxonomy.
11      db_query("UPDATE {system} SET weight = 11 WHERE name = 'taxonomy_other' AND type = 'module'");
12  }  }
13    
14  /**  /**
# Line 60  function taxonomy_other_schema() { Line 62  function taxonomy_other_schema() {
62    );    );
63    return $schema;    return $schema;
64  }  }
65    
66    /**
67     * Implementation of hook_update_N().
68     */
69    function taxonomy_other_update_6100() {
70      $ret = array();
71      $ret[] = update_sql("UPDATE {system} SET weight = 11 WHERE name = 'taxonomy_other' AND type = 'module'");
72      return $ret;
73    }

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

  ViewVC Help
Powered by ViewVC 1.1.2