Merge branch 'master' of github.com:thephpleague/oauth2-server

This commit is contained in:
Alex Bilbie 2015-02-22 19:47:44 +00:00
commit f92a68cc72

View File

@ -86,7 +86,7 @@ class AccessTokenStorage extends AbstractStorage implements AccessTokenInterface
*/ */
public function delete(AccessTokenEntity $token) public function delete(AccessTokenEntity $token)
{ {
Capsule::table('oauth_access_token_scopes') Capsule::table('oauth_access_tokens')
->where('access_token', $token->getId()) ->where('access_token', $token->getId())
->delete(); ->delete();
} }