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

Contents of /contributions/modules/taxonomy_user/taxonomy_user.install

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


Revision 1.1 - (show annotations) (download) (as text)
Wed Dec 13 21:50:04 2006 UTC (2 years, 11 months ago) by alexb
Branch: MAIN
CVS Tags: DRUPAL-4-7--1-1, DRUPAL-4-7--1-0, HEAD
Branch point for: DRUPAL-5, DRUPAL-4-7
File MIME type: text/x-php
taxonomy_user - added an install file and a readme
1 <?php
2
3 function taxonomy_user_install() {
4 switch ($GLOBALS['db_type']) {
5 case 'mysql':
6 case 'mysqli':
7 db_query("CREATE TABLE {term_node_user} (
8 nid int(11) NOT NULL,
9 tid int(11) NOT NULL,
10 uid int(11) NOT NULL,
11 PRIMARY KEY (nid, tid, uid)
12 ) /*!40100 DEFAULT CHARACTER SET utf8 */;");
13 break;
14 }
15 drupal_set_message(t('taxonomy_user module enabled.'));
16 }

  ViewVC Help
Powered by ViewVC 1.1.2