Parent Directory
|
Revision Log
|
Revision Graph
cosmetics
| 1 | <?php |
| 2 | // $Id: publishcontent.install,v 1.2 2009/01/17 23:44:34 malaussene Exp $ |
| 3 | |
| 4 | /** |
| 5 | * Implementation of hook_install(). |
| 6 | * |
| 7 | * In drupal 5, you cannot alter menu, so you have to make sure |
| 8 | * publishcontent_menu (hook_menu) is called before node_menu |
| 9 | * so that node/{$nid} is registered by publishcntent_menu rather |
| 10 | * than node_menu. |
| 11 | */ |
| 12 | function publishcontent_install() { |
| 13 | db_query("UPDATE {system} SET weight='-1' WHERE name = 'publishcontent' AND type='module';"); |
| 14 | } |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |