| 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(). |
| 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 |
/** |
/** |
| 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 |
|
} |