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