You are here

function _fb_user_install_set_weight in Drupal for Facebook 6.3

Same name and namespace in other branches
  1. 7.3 fb_user.install \_fb_user_install_set_weight()

Usually it is best if fb_user_form_alter acts before third party modules. So, we lower the module weight here.

2 calls to _fb_user_install_set_weight()
fb_user_install in ./fb_user.install
Implementation of hook_install().
fb_user_update_6009 in ./fb_user.install

File

./fb_user.install, line 41
Install file for fb_user.module.

Code

function _fb_user_install_set_weight() {
  db_query("UPDATE {system} SET weight=-1 WHERE name='fb_user'");
}