/[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.4.1, Sun Jun 8 21:41:31 2008 UTC revision 1.1.4.2, Fri Jun 27 17:46:25 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: taxonomy_other.install,v 1.1 2008/06/08 19:43:00 rellis Exp $  // $Id: taxonomy_other.install,v 1.1.4.1 2008/06/08 21:41:31 rellis Exp $
3    
4  /**  /**
5   * Implementation of hook_install().   * Implementation of hook_install().
# Line 37  function taxonomy_other_install() { Line 37  function taxonomy_other_install() {
37        )");        )");
38        break;        break;
39    }    }
40    
41      // Set module weight to 21 to run after i18ntaxonomy.
42      db_query("UPDATE {system} SET weight = 21 WHERE name = 'taxonomy_other'");
43    }
44    
45    /**
46     * Implementation of hook_update_1().
47     * Set module weight to 21 to run after i18ntaxonomy.
48     */
49    function taxonomy_other_update_1() {
50      $ret = array();
51      $ret[] = update_sql("UPDATE {system} SET weight = 21 WHERE name = 'taxonomy_other'");
52      return $ret;
53  }  }
54    
55  /**  /**

Legend:
Removed from v.1.1.4.1  
changed lines
  Added in v.1.1.4.2

  ViewVC Help
Powered by ViewVC 1.1.2