function fb_example_install in Drupal for Facebook 6.3
Same name and namespace in other branches
- 7.3 contrib/fb_example.install \fb_example_install()
Implements hook_install().
Set weight so that fb_example comes after fb_user.
File
- contrib/
fb_example.install, line 14 - Install file for fb_example.module. Set the weight of our module to be after og.
Code
function fb_example_install() {
// So we fall after og_vocab and og.
db_query("UPDATE {system} SET weight = 3 WHERE name='fb_example'");
}