Parent Directory
|
Revision Log
|
Revision Graph
Initial commit of node_form_rearrange module.
| 1 | <?php |
| 2 | // $Id$ |
| 3 | |
| 4 | /** |
| 5 | * @file |
| 6 | * Implements one hook. This sets the weight of this module to be greater than the taxonomy module. |
| 7 | */ |
| 8 | |
| 9 | /** |
| 10 | * Implementation of hook_install(). |
| 11 | */ |
| 12 | function node_form_rearrange_install() { |
| 13 | $weight = (int)db_result(db_query("SELECT weight FROM {system} WHERE name = 'taxonomy'")); |
| 14 | db_query("UPDATE {system} SET weight = %d WHERE name = 'node_form_rearrange'", $weight + 1); |
| 15 | } |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |