From d43391564c200fecb0e6e89649d358f0777fd4d0 Mon Sep 17 00:00:00 2001 From: Vlad Date: Thu, 15 Jan 2015 14:20:54 +0100 Subject: [PATCH] Probable bug AccessTokenStorage::delete should delete the token, not the scope associated with the token --- examples/relational/Storage/AccessTokenStorage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/relational/Storage/AccessTokenStorage.php b/examples/relational/Storage/AccessTokenStorage.php index 59e27362..bd1a5ca8 100644 --- a/examples/relational/Storage/AccessTokenStorage.php +++ b/examples/relational/Storage/AccessTokenStorage.php @@ -86,7 +86,7 @@ class AccessTokenStorage extends AbstractStorage implements AccessTokenInterface */ public function delete(AccessTokenEntity $token) { - Capsule::table('oauth_access_token_scopes') + Capsule::table('oauth_access_tokens') ->where('access_token', $token->getId()) ->delete(); }