Parent Directory
|
Revision Log
|
Revision Graph
Adding better PHPDoc snippets for files and hook implementations, whitespace and coding standards tweaks, etc.
| 1 | <?php |
| 2 | // $Id$ |
| 3 | |
| 4 | /** |
| 5 | * @file |
| 6 | * Install, update and uninstall functions for the Token module. |
| 7 | */ |
| 8 | |
| 9 | function token_install() { |
| 10 | db_query("UPDATE {system} SET weight = 10 WHERE name = 'token'"); |
| 11 | } |
| 12 | |
| 13 | /** |
| 14 | * Change weight of Token module in the system table to ensure it loads late. |
| 15 | */ |
| 16 | function token_update_1() { |
| 17 | $ret = array(); |
| 18 | $ret[] = update_sql("UPDATE {system} SET weight = 10 WHERE name = 'token'"); |
| 19 | return $ret; |
| 20 | } |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |