You are here

function sess_destroy_sid in Drupal for Facebook 6.2

Called by PHP session handling with the PHP session ID to end a user's session.

Parameters

string $sid: the session id

File

./fb_session_impl.inc, line 112
Re-write of Drupal's session.inc, for facebook-controlled sessions.

Code

function sess_destroy_sid($sid) {
  db_query("DELETE FROM {sessions} WHERE sid = '%s'", $sid);
}