function fbconnect_user in Facebook Connect 6.2
Same name and namespace in other branches
- 5 fbconnect.module \fbconnect_user()
- 6 fbconnect.module \fbconnect_user()
Implements hook_user().
File
- ./
fbconnect.module, line 126 - Integration with Facebook Connect API.
Code
function fbconnect_user($op, &$edit, &$user, $category = NULL) {
switch ($op) {
case 'delete':
db_query('DELETE FROM {fbconnect_users} WHERE uid = %d', $user->uid);
break;
case 'categories':
return array(
array(
'name' => 'fbconnect',
'title' => 'Facebook',
'weight' => 3,
),
);
case 'form':
if ($category == 'fbconnect') {
}
break;
}
}