public function deleteToken(Oauth_TokenModel $token)
    {
        if (!$token->id)
        {
            return false;
        }

        $record = Oauth_TokenRecord::model()->findById($token->id);

        if($record)
        {
            return $record->delete();
        }

        return false;
    }
public function deleteToken(Oauth_TokenModel $token)
    {
        if (!$token->id)
        {
            return false;
        }

        $record = Oauth_TokenRecord::model()->findById($token->id);

        if($record)
        {
            return $record->delete();
        }

        return false;
    }
public function deleteToken ( Oauth_TokenModel $ token ) { if ( ! $ token -> id ) { return false ; } $ record = Oauth_TokenRecord :: model ( ) -> findById ( $ token -> id ) ; if ( $ record ) { return $ record -> delete ( ) ; } return false ; }
Delete token ID
Delete token ID