function _is_fbconnect_user in Facebook Connect 5
Same name and namespace in other branches
- 8.2 fbconnect_login/fbconnect_login.module \_is_fbconnect_user()
- 6 fbconnect.module \_is_fbconnect_user()
- 7.2 fbconnect_login/fbconnect_login.module \_is_fbconnect_user()
Check if user already registered in the fbconnect_users table
Parameters
integer $fbuid: Facebook user id
Return value
array
2 calls to _is_fbconnect_user()
- fbconnect_autoconnect_form_validate in ./
fbconnect.module - fbconnect_get_connected_friends in ./
fbconnect.module - Get facebook friend who has_added_app.
File
- ./
fbconnect.module, line 887 - This module allows site visitors to connect and register with facebook account
Code
function _is_fbconnect_user($fbuid) {
$data = db_fetch_array(db_query('SELECT uid FROM {fbconnect_users} WHERE fbuid = %d', $fbuid));
return $data ? $data : FALSE;
}