public function destroy_token($tokenId) {
		try {
			$sql = "DELETE FROM ". $this->table ." WHERE auth_token_id=:tokenId";
			$deleteRes = $this->db->run_update($sql, array('tokenId'=>$tokenId));
		}
		catch(exception $e) {
			throw new exception(__METHOD__ .": failed to destroy token::: ". $e->getMessage());
		}
		
		return($deleteRes);
	}
public function destroy_token($tokenId) {
		try {
			$sql = "DELETE FROM ". $this->table ." WHERE auth_token_id=:tokenId";
			$deleteRes = $this->db->run_update($sql, array('tokenId'=>$tokenId));
		}
		catch(exception $e) {
			throw new exception(__METHOD__ .": failed to destroy token::: ". $e->getMessage());
		}
		
		return($deleteRes);
	}
public function destroy_token ( $ tokenId ) { try { $ sql = "DELETE FROM " . $ this -> table . " WHERE auth_token_id=:tokenId" ; $ deleteRes = $ this -> db -> run_update ( $ sql , array ( 'tokenId' => $ tokenId ) ) ; } catch ( exception $ e ) { throw new exception ( __METHOD__ . ": failed to destroy token::: " . $ e -> getMessage ( ) ) ; } return ( $ deleteRes ) ; }
Deletes the given token ID from the database.

@param $tokenId		(int) auth_token_id to delete

@return (int)		PASS: this many were deleted (should always be 1)
@return (exception)	FAIL: exception contains error details
Deletes the given token ID from the database .