Handle node/add/case?gids[]=$pid use case in a way that works
[drupal_ctog.git] / ctog.install
blob1e3c9400e57c81ed9d32296f5387d8368e048d0b
1 <?php
2 // $Id $
4 /**
5  * An implementation of hook_install().
6  */
7 function ctog_install() {
8   // Put this module after OG access so it can form_alter as needed.
9   db_query("UPDATE {system} SET weight = %d WHERE name = 'ctog'", db_result(db_query("SELECT weight FROM {system} WHERE name = 'og_access'")) + 1);