You are here

function fb_user_update_3 in Drupal for Facebook 6.2

Same name and namespace in other branches
  1. 5.2 fb_user.install \fb_user_update_3()
  2. 5 fb_user.install \fb_user_update_3()
  3. 6.3 fb_user.install \fb_user_update_3()

File

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

Code

function fb_user_update_3() {

  // populate the uid column we created in update 2
  $ret[] = update_sql("UPDATE {fb_user_app},{authmap} SET {fb_user_app}.uid={authmap}.uid WHERE substring_index(authname, '@', 1)=fbu");
  return $ret;
}