You are here

function fb_user_update_3 in Drupal for Facebook 6.3

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.2 fb_user.install \fb_user_update_3()

File

./fb_user.install, line 86
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;
}