english/libraries/joomla/session/storage/database.php
/**
	 * Destroy the data for a particular session identifier in the
	 * SessionHandler backend.
	 *
	 * @param   string   The session identifier.
	 *
	 * @return  boolean  True on success, false otherwise.
	 * @since   11.1
	 */
Destroy the data for a particular session identifier in the
SessionHandler backend.

@param   string   The session identifier.

@return  boolean  True on success, false otherwise.
Destroy the data for a particular session identifier in the SessionHandler backend . @param string The session identifier . @return boolean True on success false otherwise .
public function destroy($id)
	{
		$db = JFactory::getDbo();
		if (!$db->connected()) {
			return false;
		}
		$db->setQuery(
			'DELETE FROM `#__session`' .
			' WHERE `session_id` = '.$db->quote($id)
		);
		return (boolean) $db->query();
	}
public function destroy ( $ id ) { $ db = JFactory :: getDbo ( ) ; if ( ! $ db -> connected ( ) ) { return false ; } $ db -> setQuery ( 'DELETE FROM `#__session`' . ' WHERE `session_id` = ' . $ db -> quote ( $ id ) ) ; return ( boolean ) $ db -> query ( ) ; }
Destroy the data for a particular session identifier in the
 SessionHandler backend.
Destroy the data for a particular session identifier in the SessionHandler backend .
// Get the database connection object and verify its connected. // Remove a session from the database.