You are here

function twitter_signin_user_insert in Twitter 7.3

Same name and namespace in other branches
  1. 7.6 twitter_signin/twitter_signin.module \twitter_signin_user_insert()
  2. 7.4 twitter_signin/twitter_signin.module \twitter_signin_user_insert()
  3. 7.5 twitter_signin/twitter_signin.module \twitter_signin_user_insert()

Implements hook_user_insert().

Relates a Twitter account with a just created user account if the user signed in with Twitter but did not have an account in the site yet.

File

twitter_signin/twitter_signin.module, line 198

Code

function twitter_signin_user_insert(&$edit, $account, $category) {
  _twitter_signin_add_account($account);
}