Parent Directory
|
Revision Log
|
Revision Graph
updating head with latest.
| 1 | <?php |
| 2 | // $Id: jgrowl.install,v 1.1.2.1 2008/09/29 16:37:30 stevemckenzie Exp $ |
| 3 | |
| 4 | /** |
| 5 | * |
| 6 | * @file |
| 7 | * Module install file. |
| 8 | * |
| 9 | */ |
| 10 | |
| 11 | /** |
| 12 | * Implementation of hook_install(). |
| 13 | */ |
| 14 | function jgrowl_install() { |
| 15 | // Always keep jgrowl last so we can grab all the messages. |
| 16 | $weight = db_result(db_query("SELECT weight FROM {system} ORDER BY weight DESC LIMIT 1")); |
| 17 | db_query("UPDATE {system} SET weight = %d WHERE name = 'jgrowl'", $weight + 100); |
| 18 | } |
| 19 |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |