@staticmethod
def auth_token_destroy(context, token_id):
    token = FakeAuthDatabase.data.get(('id_%i' % token_id))
    if (token and (token.token_hash in FakeAuthDatabase.data)):
        del FakeAuthDatabase.data[token.token_hash]
        del FakeAuthDatabase.data[('id_%i' % token_id)]
@staticmethod
def auth_token_destroy(context, token_id):
    token = FakeAuthDatabase.data.get(('id_%i' % token_id))
    if (token and (token.token_hash in FakeAuthDatabase.data)):
        del FakeAuthDatabase.data[token.token_hash]
        del FakeAuthDatabase.data[('id_%i' % token_id)]