function sess_destroy_uid in Drupal for Facebook 6.2
End a specific user's session
Parameters
string $uid: the user id
File
- ./
fb_session_impl.inc, line 122 - Re-write of Drupal's session.inc, for facebook-controlled sessions.
Code
function sess_destroy_uid($uid) {
db_query('DELETE FROM {sessions} WHERE uid = %d', $uid);
}