You are here

function fb_user_app_update_3 in Drupal for Facebook 7.3

Same name and namespace in other branches
  1. 6.3 contrib/fb_user_app.install \fb_user_app_update_3()

File

contrib/fb_user_app.install, line 79
Install file for fb_user.module.

Code

function fb_user_app_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;
}