function fbconnect_set_user_visibility in Facebook Connect 5
2 calls to fbconnect_set_user_visibility()
- fbconnect_register_form_submit in ./
fbconnect.module - Handle post-validation register form submission.
- fbconnect_user_settings_form_submit in ./
fbconnect.module - Handle post-validation user_settingsForm submission.
File
- ./
fbconnect.module, line 1010 - This module allows site visitors to connect and register with facebook account
Code
function fbconnect_set_user_visibility($user, $visibility) {
db_query('UPDATE {fbconnect_users} SET visibility = %d WHERE uid = %d', $visibility, $user->uid);
}